Skip to main content

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.

Metadata

Release files for zca 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for zca 0.1.1
File Size Uploaded
zca-0.1.1.tar.gz 15.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for zca 0.1.1
File Interpreter ABI Platform
zca-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 30.1 kB

Release files / zca-0.1.1.tar.gz

Download URL zca-0.1.1.tar.gz
Size 15.0 kB
Tags Source
SHA-256 checksum
How to use checksums
28fcbd06f4c389bf28ae5b9fd9523bf22a0f994ce823c8c021d8ab7f34dcad19
BLAKE2b-256 checksum
How to use checksums
8d2ad85d0097001b47ccf1f781d5e72fc547f32c5691f2792b122463f6b99877
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.10

Release files / zca-0.1.1-py3-none-any.whl

Download URL zca-0.1.1-py3-none-any.whl
Size 15.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ffbe835940181521ea4cd840975eec3e67df84a2f1a23bf8b253808888f22bca
BLAKE2b-256 checksum
How to use checksums
9f26336a7cbb1b51a490f5598dcf6014d1749bacfecf26a758eb5e192959bf9a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.10

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page