Expand description
ROC curve: threshold sweep producing (FPR, TPR) points, and AUC via trapezoidal integration.
Structs§
- RocCurve
Data - An ROC curve: its operating points (from
(0,0)to(1,1)) and the area under it. - RocPoint
- A single operating point on an ROC curve.
Functions§
- auc_
trapezoid - Trapezoidal integration of
yoverxfor a sequence of(x, y)points assumed sorted by ascendingx. - roc_
curve - Compute an ROC curve from predicted
scoresand true binarylabels(true= positive class).