Advertisement
897bhgy

Untitled

Jul 19th, 2023
259
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.10 KB | Source Code | 0 0
  1. from sklearn.decomposition import PCA
  2. pca = PCA(n_components=2)
  3. X_reduced = pca.fit_transform(X)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement