Created
January 6, 2021 08:46
-
-
Save saimadhu-polamuri/c9e78f9d4da6fb3ce6aabf2c0cf6eb87 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
std = StandardScaler() | |
transformed = StandardScaler().fit_transform(a) | |
## Two PCA components | |
pca = convers_pca(no_of_components=2) | |
pca.fit(transformed) | |
print(pca.eigen_vectors) | |
print(pca.eigen_values) | |
print(pca.sorted_components) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment