Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

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()
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #roc #auc #score #plotting
ADD COMMENT
Topic
Name
8+9 =