Created
June 18, 2020 14:30
-
-
Save nitin-bommi/d50c4a9654b36035789b96860d2eb20e to your computer and use it in GitHub Desktop.
f1-score
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# To compute the F1 score, simply call the f1_score() function: | |
from sklearn.metrics import f1_score | |
f1_score(y_train_5, y_train_pred) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment