seniorScikit-Learn
What is the difference between accuracy and ROC-AUC?
Updated May 17, 2026
Short answer
Accuracy measures correct predictions, while ROC-AUC measures ranking quality across thresholds.
Deep explanation
Accuracy is threshold-dependent and can be misleading in imbalanced datasets. ROC-AUC evaluates model ability to distinguish classes across all thresholds, plotting true positive rate vs false positive rate.
Unlock with a Pro subscription to view this section.
View pricingReal-world example
No real-world example available yet.
Unlock with a Pro subscription to view this section.
Upgrade to ProCommon mistakes
No common mistakes listed yet.
Unlock with a Pro subscription to view this section.
Upgrade to ProFollow-up questions
No follow-up questions available yet.
Unlock with a Pro subscription to view this section.
Upgrade to Pro