ZCA whitening
Project description
ZCA whitening in Python with a Scikit-Learn like interface.
Usage
from zca import ZCA
import numpy as np
X = np.random.random((10000, 15)) # data array
trf = ZCA().fit(X)
X_whitened = trf.transform(X)
X_reconstructed = trf.inverse_transform(X_whitened)
assert(np.allclose(X, X_reconstructed)) # True
Installation
pip install -U zca
Licence
GPLv3
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
zca-0.1.1.tar.gz
(15.0 kB
view details)
Built Distribution
zca-0.1.1-py3-none-any.whl
(15.2 kB
view details)
File details
Details for the file zca-0.1.1.tar.gz
.
File metadata
- Download URL: zca-0.1.1.tar.gz
- Upload date:
- Size: 15.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 28fcbd06f4c389bf28ae5b9fd9523bf22a0f994ce823c8c021d8ab7f34dcad19 |
|
MD5 | 587e99359ddccc55f7d16d39727cfbe3 |
|
BLAKE2b-256 | 8d2ad85d0097001b47ccf1f781d5e72fc547f32c5691f2792b122463f6b99877 |
File details
Details for the file zca-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: zca-0.1.1-py3-none-any.whl
- Upload date:
- Size: 15.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ffbe835940181521ea4cd840975eec3e67df84a2f1a23bf8b253808888f22bca |
|
MD5 | 326110bae4721b23e7d308ceae03ec8e |
|
BLAKE2b-256 | 9f26336a7cbb1b51a490f5598dcf6014d1749bacfecf26a758eb5e192959bf9a |