Binary classifier operating profile plots
Opproplot treats thresholding as a geometric object over score space. For a scoring function f(x) and threshold t, the decision rule is
h_t(x) = 1{f(x) >= t}.
| p(s | Y=1) and p(s | Y=0) are estimated with class-conditional histograms. |
| True Positive Rate: TPR(t) = P(f(X) >= t | Y=1). |
| False Positive Rate: FPR(t) = P(f(X) >= t | Y=0). |
These are computed in a single pass over scores by sorting once and evaluating cumulative counts at the bin midpoints.