Created
October 29, 2017 13:41
-
-
Save darcwader/7c2b76d845199addb0888cd15883309e to your computer and use it in GitHub Desktop.
spam
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.matshow(confusion_matrix(messages['label'], predictions), cmap=plt.cm.binary, interpolation='nearest') | |
| plt.title('confusion matrix') | |
| plt.colorbar() | |
| plt.ylabel('expected label') | |
| plt.xlabel('predicted label') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment