sparsecca
Python implementations for Sparse CCA algorithms. Includes:
- Sparse (multiple) CCA based on Penalized Matrix Decomposition (PMD) from Witten et al, 2009.
- Sparse CCA based on Iterative Penalized Least Squares from Mai et al, 2019.
One main difference between these two is that while the first is very simple it assumes datasets to be white.
Installation
sparsecca is available on PyPI
pip install sparsecca
Iterative penalized least squares support
In addition to basic scientific packages such as numpy and scipy, iterative penalized least squares needs either glmnet_python or pyglmnet to be installed.
Usage
See examples, https://teekuningas.github.io/sparsecca
Acknowledgements
Great thanks to the original authors, see Witten et al, 2009 and Mai et al, 2019.
Metadata
Release files for sparsecca 0.3.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| sparsecca-0.3.1.tar.gz | 25.8 kB | Without provenance | Details for sparsecca-0.3.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| sparsecca-0.3.1-py3-none-any.whl | Python 3 | none | any | Details for sparsecca-0.3.1-py3-none-any.whl |
Total release size: 38.2 kB
Release files / sparsecca-0.3.1.tar.gz
| Download URL | sparsecca-0.3.1.tar.gz |
|---|---|
| Size | 25.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
be1526baebac5ce6efbc7190fd62a1cec13288c493f5d427024f66ca6afaec13
|
|
BLAKE2b-256 checksum How to use checksums |
d5ed4fca800b12a5cad4f4735dbe718b045a6a1c2976392ffeb8b926c799350b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.31.0
|
Release files / sparsecca-0.3.1-py3-none-any.whl
| Download URL | sparsecca-0.3.1-py3-none-any.whl |
|---|---|
| Size | 12.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
223cce1a1ce181ec6e84a0e6a2f4ca406c2b023144955678abf104fae7927c5d
|
|
BLAKE2b-256 checksum How to use checksums |
1ebc85f244036553ca1e9850a851244150cbb2c20bdd0080fa766343ad544992
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.31.0
|
Security for sparsecca 0.3.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.