An implementation of vanilla linear regression: it solves the normal equation to determine the optimal coefficients.
You can run the example using
cargo run --features=<BLAS backend>where <BLAS backend> has to be either openblas, netlib or intel-mkl.
If you want to use OpenBLAS:
cargo run --features=openblasSee the following section for more details.
This example uses ndarray-linalg: it thus requires a BLAS/LAPACK backend to be compiled and executed.
Three BLAS/LAPACK implementations are supported: