What is the conceptual difference between accuracy and ROC-AUC?

Quick Overview

Explain how accuracy and ROC-AUC differ as ways to evaluate a binary classifier. Tests understanding of thresholds, class imbalance, the ranking interpretation of AUC, cases where the two metrics disagree, and when each one is the right metric to report.

What is the conceptual difference between accuracy and ROC-AUC?

Role: Machine Learning Engineer

Category: Machine Learning

Difficulty: easy

Interview Round: Other

What is the conceptual difference between accuracy and ROC-AUC? Assume a binary classifier that outputs a score or probability for each example. ```hint Thresholds and class mix Ask whether each metric needs a cutoff to be computed, and what happens to each one when you move the cutoff or change the share of positives. ``` ### What a Strong Answer Covers - What each metric measures and whether it needs a decision threshold. - How each one depends on class balance, including the majority-class baseline. - The probabilistic reading of ROC-AUC and what it is invariant to. - A case where the two metrics disagree. - When to use each, including where costs and calibration come in. ### Follow-up Questions - Why can ROC-AUC look strong on a dataset with 0.1% positives while the model is still unusable at any practical threshold, and what would you report instead? - A model has an AUC of 0.95, but every predicted probability falls between 0.4 and 0.6. Is it a good model, and what would you do before deploying it? - Once a model has a good AUC, how would you choose its decision threshold? - How is ROC-AUC computed when several examples share the same score?

Overview: Explain how accuracy and ROC-AUC differ as ways to evaluate a binary classifier. Tests understanding of thresholds, class imbalance, the ranking interpretation of AUC, cases where the two metrics disagree, and when each one is the right metric to report.

General logo
General
Nov 24, 2026
easyMachine Learning EngineerOtherMachine Learning
0
0

What is the conceptual difference between accuracy and ROC-AUC?

Assume a binary classifier that outputs a score or probability for each example.

What a Strong Answer Covers Guidance

  • What each metric measures and whether it needs a decision threshold.
  • How each one depends on class balance, including the majority-class baseline.
  • The probabilistic reading of ROC-AUC and what it is invariant to.
  • A case where the two metrics disagree.
  • When to use each, including where costs and calibration come in.

Follow-up Questions Guidance

  • Why can ROC-AUC look strong on a dataset with 0.1% positives while the model is still unusable at any practical threshold, and what would you report instead?
  • A model has an AUC of 0.95, but every predicted probability falls between 0.4 and 0.6. Is it a good model, and what would you do before deploying it?
  • Once a model has a good AUC, how would you choose its decision threshold?
  • How is ROC-AUC computed when several examples share the same score?