Last active
November 23, 2020 20:18
-
-
Save gabriellm1/100b1e1f3d06beaedadd9471f4581deb 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
enc = OrdinalEncoder() | |
labels = enc.fit_transform(labels[['Class']]) | |
labels *= 100 | |
plt.scatter(df_principal['P1'], df_principal['P2'], c=labels , cmap=plt.cm.cool) | |
plt.show() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment