Skip to main content

Package with the PCA, SVD and t-SNE methods for dimensionality reduction

Project description

PyPI Latest Release Package Status Python Versions

What is it?

dimensionality_reductions_jmsv is a Python package that provides three methods (PCA, SVD, t-SNE) to apply dimensionality reduction to any dataset.

Installing the package

Requests is available on PyPI:

pip install dimensionality_reductions_jmsv

Try your first TensorFlow program

from dimensionality_reductions_jmsv.decomposition import PCA
import numpy as np

X = (np.random.rand(10, 10) * 10).astype(int)
pca = PCA(n_components=2)
X_pca = pca.fit_transform(X)
print("Original Matrix:", '\n', X, '\n')
print("Apply dimensionality reduction with PCA to Original Matrix:", '\n', X_pca)

License

MIT

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

dimensionality_reductions_jmsv-0.1.0.tar.gz (3.0 kB view hashes)

Uploaded Source

Built Distribution

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