Skip to main content

Module roc_curve

Module roc_curve 

Source
Expand description

ROC curve series.

Construct from raw (scores, labels) or from precomputed (FPR, TPR) points. Renders as a line with an optional area fill (AUC shading) and an optional random-chance diagonal. The computed AUC is exposed so it can be folded into a legend label — see RocCurve::legend_label.

Structs§

RocCurve
A single ROC curve as a drawable series (coordinate space (f64, f64) = (FPR, TPR)).