Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- accuracy_score = accuracy_score(y_pred=[1 if x < 4 else 0 for x in predicted_labels],
- y_true=[1 if x < 4 else 0 for x in y_test])
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement