Answers for "roc auc score scikit"

1

roc auc score plotting

import scikitplot as skplt
import matplotlib.pyplot as plt

y_true = # ground truth labels
y_probas = # predicted probabilities generated by sklearn classifier
skplt.metrics.plot_roc_curve(y_true, y_probas)
plt.show()
Posted by: Guest on May-26-2021
0

scikit learn roc curve

auc = sklearn.metric.auc(fpr, tpr)
Posted by: Guest on May-03-2020

Python Answers by Framework

Browse Popular Code Answers by Language