Skip to main content

Module roc

Module roc 

Source
Expand description

ROC curve: threshold sweep producing (FPR, TPR) points, and AUC via trapezoidal integration.

Structs§

RocCurveData
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 y over x for a sequence of (x, y) points assumed sorted by ascending x.
roc_curve
Compute an ROC curve from predicted scores and true binary labels (true = positive class).