Created
June 29, 2020 19:05
-
-
Save guilhermefgs/a00dcdc9cf092407eee6881dfcc3f286 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 import metrics | |
""" | |
a função do sklearn retorna uma tupla | |
contendo numpy arrays com true positive rate (TPR) | |
false positive rate (FPR) e threshold | |
""" | |
fpr, tpr, thresholds = metrics.roc_curve(y_test, y_predito) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment