Advertisement
Guest User

Untitled

a guest
Aug 19th, 2019
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.15 KB | None | 0 0
  1. y_true = [2, 0, 2, 2, 0, 1]
  2. y_pred = [0, 0, 2, 2, 0, 2]
  3. confusion_matrix(y_true, y_pred)
  4. array([[2, 0, 0],
  5. [0, 0, 1],
  6. [1, 0, 2]])
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement