Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@orcaman
Created July 21, 2019 21:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save orcaman/5713f536154f10e8bdfa6d0bc7c6b8db to your computer and use it in GitHub Desktop.
Save orcaman/5713f536154f10e8bdfa6d0bc7c6b8db to your computer and use it in GitHub Desktop.
pca.py
from sklearn.decomposition import PCA
pca = PCA(0.99, whiten=True)
data = pca.fit_transform(df_real)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment