Skip to content

Instantly share code, notes, and snippets.

@letthedataconfess
Created December 29, 2021 17:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save letthedataconfess/904e97af3bea591906ad6c433981fb41 to your computer and use it in GitHub Desktop.
Save letthedataconfess/904e97af3bea591906ad6c433981fb41 to your computer and use it in GitHub Desktop.
from sklearn.metrics import accuracy_score, confusion_matrix
cm = confusion_matrix(pred_y,y_test)
cm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment