Skip to main content

A module for calculation of PCA with the NIPALS algorithm

Project description

A module for calculation of PCA with the NIPALS algorithm. Based on the R package nipals. Tested to give same results as nipals:nipals, with some rounding errors.

Please note that the Gram-Schmidt orthogonalization has not yet been implemented.

  • Free software: MIT license

Installation

pip install nipals

Documentation

https://python-nipals.readthedocs.io/

Development

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

Changelog

0.2.0 (2018-03-29)

  • Added a PLS class

  • Improved plotting

  • Fixed some problems with missing/infinite values

0.1.0 (2018-03-14)

  • First release on PyPI.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nipals-0.2.0.tar.gz (191.3 kB view details)

Uploaded Source

Built Distribution

nipals-0.2.0-py2.py3-none-any.whl (9.0 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file nipals-0.2.0.tar.gz.

File metadata

  • Download URL: nipals-0.2.0.tar.gz
  • Upload date:
  • Size: 191.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for nipals-0.2.0.tar.gz
Algorithm Hash digest
SHA256 66bd1f80d7f2a03a22210115935a8c21952c4436557940775e533c7b08d073f7
MD5 fe7d2bd379c2fb48f6e8fdc5bbcae1b3
BLAKE2b-256 494d5adaff75011254ee22c4304dbcb735d2013c710788c42605c5828d68a9e3

See more details on using hashes here.

File details

Details for the file nipals-0.2.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for nipals-0.2.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 5f84347b1909866255014f070eb52597ce90681a35f8fe667d7da52530b5c334
MD5 6bf240df0c29a94ef83eede1e2a9e184
BLAKE2b-256 9a77c89c70d58fa661ea07e2b0d68e61ba8c68206c723282dcf4dacd80c837a3

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page