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 pricing

Real-world example

No real-world example available yet.

Unlock with a Pro subscription to view this section.

Upgrade to Pro

Common mistakes

No common mistakes listed yet.

Unlock with a Pro subscription to view this section.

Upgrade to Pro

Follow-up questions

No follow-up questions available yet.

Unlock with a Pro subscription to view this section.

Upgrade to Pro

More Scikit-Learn interview questions

View all →