Skip to content

Instantly share code, notes, and snippets.

@shubham-singh-ss
Created May 31, 2019 06:01
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save shubham-singh-ss/4f40a9850bccac1026cd40dba51fde2d to your computer and use it in GitHub Desktop.
from sklearn.metrics import confusion_matrix
cm = confusion_matrix(y_test, y_pred)
cm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment