pcax
Minimal Principal Component Analsys (PCA) implementation using jax.
The aim of this project is to provide a JAX-based PCA implementation, eliminating the need for unnecessary data transfer to CPU or conversions to Numpy. This can provide performance benefits when working with large datasets or in GPU-intensive workflow
Usage
import pcax
# Fit the PCA model with 3 components on your data X
state = pcax.fit(X, n_components=3)
# Transform X to its principal components
X_pca = pcax.transform(state, X)
# Recover the original X from its principal components
X_recover = pcax.recover(state, X_pca)
Installation
pcax can be installed from PyPI via pip
pip install pcax
Alternatively, it can be installed directly from the GitHub repository:
pip install git+git://github.com/alonfnt/pcax.git
Metadata
Release files for pcax 0.1.0
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 |
|---|---|---|---|---|
| pcax-0.1.0.tar.gz | 4.0 kB | Without provenance | Details for pcax-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pcax-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for pcax-0.1.0-py3-none-any.whl |
Total release size: 8.3 kB
Release files / pcax-0.1.0.tar.gz
| Download URL | pcax-0.1.0.tar.gz |
|---|---|
| Size | 4.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0831e31bf62554876080f33e1ad9c18f9ae500ef09ed70f5759a6326a8812327
|
|
BLAKE2b-256 checksum How to use checksums |
d771662ff67c3eb5a68208344c951748a960bc142790c897642d1bab1d21f456
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.16
|
Release files / pcax-0.1.0-py3-none-any.whl
| Download URL | pcax-0.1.0-py3-none-any.whl |
|---|---|
| Size | 4.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8d1d1fa4d68314196d28d9b4489c9f71999ad059a7bae4a301f485ccf05a2c13
|
|
BLAKE2b-256 checksum How to use checksums |
f89842f4aee4505a9f809c20c2622f85fadb86adfdccb365b7d8faebd445acca
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.16
|
Security for pcax 0.1.0
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.