Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

roc auc score

# Import roc_auc_score
from sklearn.metrics import roc_auc_score

# Calculate roc_auc_score
print(roc_auc_score(y_test, y_pred_probs))
Source by campus.datacamp.com #
 
PREVIOUS NEXT
Tagged: #roc #auc #score
ADD COMMENT
Topic
Name
6+6 =