Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- y_true = [2, 0, 2, 2, 0, 1]
- y_pred = [0, 0, 2, 2, 0, 2]
- confusion_matrix(y_true, y_pred)
- array([[2, 0, 0],
- [0, 0, 1],
- [1, 0, 2]])
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement