| docs | |
|---|---|
| tests | |
| package |
A module for calculation of PCA and PLS with the NIPALS algorithm. Based on the R packages nipals and pcaMethods as well as the statistical appendixes to "Introduction to Multi- and Megavariate Data Analysis using Projection Methods (PCA & PLS)" by Eriksson et. al. Tested to give same results as the above packages and Simca, with some rounding errors.
- Free software: MIT license
pip install nipals
See https://github.com/fredrikw/python-nipals/blob/master/docs/nipals_demo_iris.ipynb for an example and the tests at https://github.com/fredrikw/python-nipals/tree/master/tests.
To run the all tests run:
tox
Note, to combine the coverage data from all the tox environments run:
| Windows | set PYTEST_ADDOPTS=--cov-append tox |
|---|---|
| Other | PYTEST_ADDOPTS=--cov-append tox |