What does the baseline value of a ROC curve versus a precision-recall curve represent?

Quick Overview

Asks what the no-skill baseline means on a ROC curve and on a precision-recall curve, and why the two behave differently. Tests your understanding of class imbalance, prevalence, and how to read and compare ROC-AUC and PR-AUC values for a binary classifier.

What does the baseline value of a ROC curve versus a precision-recall curve represent?

Role: Machine Learning Engineer

Category: Machine Learning

Difficulty: easy

Interview Round: Other

What does the baseline value of a ROC curve versus a precision-recall curve represent? Consider a binary classifier scored on a labeled test set. ```hint Score at random Imagine a model that flags a random 20% of cases as positive. Work out its true positive rate, false positive rate and precision on a dataset where 1% of cases are positive. ``` ### What a Strong Answer Covers - What the baseline stands for on both curves (a classifier with no skill). - Where the ROC baseline sits, why, and the AUC it gives. - Where the PR baseline sits, why it depends on prevalence, and the AUC or average precision it gives. - How to read and compare PR-AUC values in light of the baseline. ### Follow-up Questions - If the positive rate in production drops to half of what it was in your test set, what happens to ROC-AUC and to PR-AUC? - How could you normalize PR-AUC so that results on datasets with different prevalence can be compared? - What does a ROC-AUC of 0.3 tell you about a model? - Why is linear interpolation between points on a PR curve misleading?

Overview: Asks what the no-skill baseline means on a ROC curve and on a precision-recall curve, and why the two behave differently. Tests your understanding of class imbalance, prevalence, and how to read and compare ROC-AUC and PR-AUC values for a binary classifier.

Nov 24, 2026
easyMachine Learning EngineerOtherMachine Learning
0
0

What does the baseline value of a ROC curve versus a precision-recall curve represent? Consider a binary classifier scored on a labeled test set.

What a Strong Answer Covers Guidance

  • What the baseline stands for on both curves (a classifier with no skill).
  • Where the ROC baseline sits, why, and the AUC it gives.
  • Where the PR baseline sits, why it depends on prevalence, and the AUC or average precision it gives.
  • How to read and compare PR-AUC values in light of the baseline.

Follow-up Questions Guidance

  • If the positive rate in production drops to half of what it was in your test set, what happens to ROC-AUC and to PR-AUC?
  • How could you normalize PR-AUC so that results on datasets with different prevalence can be compared?
  • What does a ROC-AUC of 0.3 tell you about a model?
  • Why is linear interpolation between points on a PR curve misleading?