Advertisement
Guest User

Untitled

a guest
Apr 27th, 2017
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.17 KB | None | 0 0
  1. accuracy_score = accuracy_score(y_pred=[1 if x < 4 else 0 for x in predicted_labels],
  2.                                 y_true=[1 if x < 4 else 0 for x in testing_labels])
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement