How to calculate ROC_AUC score having 3 classes
问题 I have a data having 3 class labels(0,1,2). I tried to make ROC curve. and did it by using pos_label parameter. fpr, tpr, thresholds = metrics.roc_curve(Ytest, y_pred_prob, pos_label = 0) By changing pos_label to 0,1,2- I get 3 graphs, Now I am having issue in calculating AUC score. How can I average the 3 graphs and plot 1 graph from it and then calculate the Roc_AUC score. i am having error in by this metrics.roc_auc_score(Ytest, y_pred_prob) ValueError: multiclass format is not supported