Part 06 / Topic 3 of 7
ROC-AUC and PR-AUC
Both score the model across all thresholds at once, using the probabilities:
- ROC-AUC — probability a random positive scores above a random negative. 0.5 = coin flip, 1.0 = perfect.
- PR-AUC (average precision) — area under precision-recall; it ignores true negatives, so it stays informative when positives are rare.
On a 95/5 imbalanced set the same model measured both ways: ROC-AUC 0.942, PR-AUC 0.859 — the PR number is the sterner, more honest one for rare-event problems.
🧪 Quick quiz
- Why report cross-validation mean and std instead of one test split? (Preview — details in section 5.)
Show the answer
One split can be lucky or unlucky; folds show the spread. On churn the fold ROC-AUCs ranged 0.789–0.832 (mean 0.807, std 0.017).
Done here? The practice set for Part 6 — 4 exercises with solutions — is on the part page.