Guest User

Untitled

a guest
Aug 19th, 2019
69
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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]])
RAW Paste Data