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 hashes)
Built Distribution
zca-0.1.1-py3-none-any.whl
(15.2 kB
view hashes)