Created
January 6, 2021 08:59
-
-
Save saimadhu-polamuri/a1501660f87c11c614cdc30d6611b89b 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
## PCA Visualization | |
a_std = pca.transform(transformed) | |
plt.figure() | |
plt.title(label="PCA Visualization", fontsize=30, color="blue") | |
plt.xlabel("Principal Component 1") | |
plt.ylabel("Principal Component 2") | |
plt.title(label="PCA Visualization", fontsize=40, color="blue") | |
plt.scatter(a_std[:, 0], a_std[:, 1], c=b) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment