jacobgil / confidenceinterval

The long missing library for python confidence intervals
MIT License
131 stars 14 forks source link

How to calculate CI for Area under Precision-Recall curve? #11

Open gurpreetpabla opened 2 months ago

gurpreetpabla commented 2 months ago

May I know how can I use bootstrap_ci to calculate CI for AUC-PR? I used bootstrap_ci to calculate the CI for the Brier score by passing brier_scoreloss in the metric parameter, but AUC-PR is a bit different. precision1, recall1, = precision_recall_curve(y_true,probabilities) auc_prec = auc(recall1, precision1).round(4)