Skip to main content

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

Authors

zca was written by Maarten Versteegh.

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

zca-0.1.1.tar.gz (15.0 kB view hashes)

Uploaded Source

Built Distribution

zca-0.1.1-py3-none-any.whl (15.2 kB view hashes)

Uploaded Python 3

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