I am trying to plot ROC curve in sklearn. The results below are the predicted values (y_score
) and the labels (labels
). Is it possible to plot roc_curve
from that or must one have the raw probabilities?
y_score
[1, 0, 0, 1, 10, 5, 12, 14, 6, 9, 10]
labels
[1, 0, 0, 1, 10, 5, 11, 14, 6, 9, 8]
I am using this guide.