Created
December 19, 2018 16:50
-
-
Save RyotaBannai/29186a47bcc77fc37bd1281886c5a91f to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| plt.plot(np.cumsum(pca.explained_variance_ratio_),'o-', c='#663399', alpha=.5) | |
| plt.xlabel('Number of components') | |
| plt.ylabel('Cumulative explained variance') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment