scikit-learn - ROC curve with confidence intervals
I am able to get a ROC curve using scikit-learn with fpr, tpr, thresholds
= metrics.roc_curve(y_true,y_pred, pos_label=1)
where y_true is a list of values based on my gold standard (i.e., 0 for
negative and 1 for positive cases) and y_pred is a corresponding list of
scores (e.g., 0.053497243, 0.008521122, 0.022781548, 0.101885263,
0.012913795, 0.0, 0.042881547 [...])
I am trying to figure out how to add confidence intervals to that curve,
but didn't find any easy way to do that with sklearn.
No comments:
Post a Comment