How Does Sklearn Select Threshold Steps In Precision Recall Curve?
I trained a basic FFNN on a example breast cancer dataset. For the results the precision_recall_curve function gives datapoints for 416 different thresholds. My Data contains 569 u
Solution 1:
Reading the source, precision_recall_curve
does compute precision and recall for each unique predicted probability (here pred
) but then omits the output for all thresholds that result in full recall (apart from the very first threshold to achieve full recall).
Post a Comment for "How Does Sklearn Select Threshold Steps In Precision Recall Curve?"