Skip to content

Instantly share code, notes, and snippets.

@shubham-singh-ss
Created May 31, 2019 06:01
Show Gist options
  • Save shubham-singh-ss/4f40a9850bccac1026cd40dba51fde2d to your computer and use it in GitHub Desktop.
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