Created
June 18, 2020 14:28
-
-
Save nitin-bommi/b233efd24d6b343fcf5ab37f8d0db401 to your computer and use it in GitHub Desktop.
precision and recall
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
# Finding precision and recall | |
from sklearn.metrics import precision_score, recall_score | |
precision_score(y_train_5, y_train_pred) | |
recall_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