What is a majority-class baseline in classification?

Quick Overview

Asks what a majority-class baseline is in classification and why models should be compared against it. Tests how to read accuracy on imbalanced data and how minority recall, macro-F1, balanced accuracy and ROC-AUC behave for a simple reference model.

What is a majority-class baseline in classification?

Role: Machine Learning Engineer

Category: Machine Learning

Difficulty: easy

Interview Round: Other

What is a majority-class baseline in classification? Explain what it predicts, why you would compute it before trusting a model's score, and which metrics it does well or badly on. ```hint A model that ignores its input Think about what a classifier that never looks at the features would score on an imbalanced dataset, and which metrics would catch it. ``` ### What a Strong Answer Covers - What the baseline predicts and how its class is chosen - What its accuracy equals and why that matters on imbalanced data - How it scores on minority-class recall, macro-F1, balanced accuracy and ROC-AUC - How to build it and which other simple baselines to compare against ### Follow-up Questions - What is the equivalent baseline for a regression task? - What PR-AUC does a constant-score model get, and why is that a better reference than 0.5 on imbalanced data? - Your model beats the majority baseline by half a percentage point of accuracy. How do you decide whether that is a real improvement?

Overview: Asks what a majority-class baseline is in classification and why models should be compared against it. Tests how to read accuracy on imbalanced data and how minority recall, macro-F1, balanced accuracy and ROC-AUC behave for a simple reference model.

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

What is a majority-class baseline in classification?

Explain what it predicts, why you would compute it before trusting a model's score, and which metrics it does well or badly on.

What a Strong Answer Covers Guidance

  • What the baseline predicts and how its class is chosen
  • What its accuracy equals and why that matters on imbalanced data
  • How it scores on minority-class recall, macro-F1, balanced accuracy and ROC-AUC
  • How to build it and which other simple baselines to compare against

Follow-up Questions Guidance

  • What is the equivalent baseline for a regression task?
  • What PR-AUC does a constant-score model get, and why is that a better reference than 0.5 on imbalanced data?
  • Your model beats the majority baseline by half a percentage point of accuracy. How do you decide whether that is a real improvement?