scikit-learn 0.23.1 Roc Curve Display code example
Example 1: scikit learn roc curve
fpr,tpr = sklearn.metrics.roc_curve(y_true, y_score, average='macro', sample_weight=None)
Example 2: scikit learn roc curve
auc = sklearn.metric.auc(fpr, tpr)
fpr,tpr = sklearn.metrics.roc_curve(y_true, y_score, average='macro', sample_weight=None)
auc = sklearn.metric.auc(fpr, tpr)