Guest User

Untitled

a guest
Nov 17th, 2017
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. from sklearn.metrics import confusion_matrix,classification_report
  2.  
  3. # calculate confusion matrix
  4. confusion_matrix = confusion_matrix(y_test, y_pred)
  5. # get a report
  6. classification_report(y_test, y_pred)
Add Comment
Please, Sign In to add comment