Answers for "roc auc score plotting"

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

Browse Popular Code Answers by Language