Sklearn ROC AUC

Python

How to calculate the ROC_AUC score using Sklearn.

 1|  from sklearn.metrics import roc_auc_score
 2|  
 3|  roc_auc = roc_auc_score(y_test, y_pred)
Did you find this snippet useful?

Sign up for free to to add this to your code library