CONCEPT 19 / First models / Evaluating scores
ROC and precision–recall curves.
One score threshold moves through the cases, confusion counts and two curves at once. Change prevalence to see why precision shifts while ROC coordinates stay fixed.
Two views of the same ranked cases
The scores are loaded. Sweep the threshold and watch both markers.
01 / Interactive visualLoaded example
ROC · false positive rate vs true positive rate
Precision–recall · recall vs precision
Change a control to see the visual and the exact values update together.
Threshold, sensitivity and false alarms
Why it matters
ROC compares conditional rates; precision also depends on how common positives are.