-
-
Save letthedataconfess/7d36b7a2a39dacce939eb234352953ba to your computer and use it in GitHub Desktop.
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
from sklearn.metrics import roc_curve, auc | |
false_positive_rate, true_positive_rate, thresholds = roc_curve(y_test, pred_y) | |
roc_auc = auc(false_positive_rate, true_positive_rate) | |
roc_auc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment