Loading topic
predict_proba returns for a scikit-learn classifier. A ROC curve needs one score per example and one positive class. A multiclass model produces one score per class. The usual fix is to turn the problem 5 min readroc_auc_score in scikit-learn. It covers cases where a high AUC does not mean a model is good for your task, and cases where two models with equal AUC behave very diffe6 min read