This library is a WIP project to replace regression-js with a better web alternative.
The project is written to perform least-squares regression algorithms in the Rust programming language, which will then compile to
-
Regression-js uses JavaScript Number type, which has a max integer value of around 9 quadrillion. This means that you will get incorrect results when working with numbers above that, as well as smaller numbers in certain cases where they're squared and summed during the algorithm.
-
Numbers in JavaScript are not precise by any means, so who knows how much mathematic precision you lose when your only data type is
-
WASM code will run faster.
-
WASM code will have smaller bundle sizes, as it's simple binaries as opposed to JavaScript code.