Expand description
Precision–recall curve: threshold sweep producing (recall, precision) points and average precision (AP).
Structs§
- PrCurve
- A precision–recall curve: operating points, average precision, and the positive-class prevalence (the curve’s chance baseline).
- PrPoint
- A single operating point on a precision–recall curve.
Functions§
- precision_
recall_ curve - Compute a precision–recall curve from predicted
scoresand true binarylabels(true= positive class). Higher scores are “more positive”.