What constitutes a good baseline for a classification task?

Quick Overview

Asks what makes a good baseline for a classification problem and how to build one before training a complex model. Tests understanding of trivial, heuristic and simple-model baselines, consistent evaluation setups, and choosing metrics that stay honest under class imbalance.

What constitutes a good baseline for a classification task?

Role: Machine Learning Engineer

Category: Machine Learning

Difficulty: medium

Interview Round: Other

What constitutes a good baseline for a classification task? A baseline is the reference score that a new model has to beat before its extra complexity is worth it. ```hint Start at the bottom Ask what score you would get with no model at all, and then with a model that takes ten minutes to build. ``` ```hint Check the metric Work out what the simplest baseline scores on a dataset where only 1% of examples are positive, under accuracy and under a metric that focuses on the positive class. ``` ### What a Strong Answer Covers - Several levels of baseline, from trivial to a simple trained model - Why every baseline must use the final model's data split, preprocessing and metric - How class imbalance changes the metric to report, and what the trivial baseline scores on it - What makes a baseline useful: fast to build, reproducible, fully evaluated ### Follow-up Questions - On a dataset with 1% positives, what PR-AUC and ROC-AUC does a random scorer get? - Your logistic regression baseline scores far higher than you expected. What do you check first? - When is the current production system the right baseline? - How do you decide whether a complex model's gain over the baseline is worth shipping?

Overview: Asks what makes a good baseline for a classification problem and how to build one before training a complex model. Tests understanding of trivial, heuristic and simple-model baselines, consistent evaluation setups, and choosing metrics that stay honest under class imbalance.

PracHub logo
General
Nov 25, 2026
mediumMachine Learning EngineerOtherMachine Learning
0
0

What constitutes a good baseline for a classification task?

A baseline is the reference score that a new model has to beat before its extra complexity is worth it.

What a Strong Answer Covers Guidance

  • Several levels of baseline, from trivial to a simple trained model
  • Why every baseline must use the final model's data split, preprocessing and metric
  • How class imbalance changes the metric to report, and what the trivial baseline scores on it
  • What makes a baseline useful: fast to build, reproducible, fully evaluated

Follow-up Questions Guidance

  • On a dataset with 1% positives, what PR-AUC and ROC-AUC does a random scorer get?
  • Your logistic regression baseline scores far higher than you expected. What do you check first?
  • When is the current production system the right baseline?
  • How do you decide whether a complex model's gain over the baseline is worth shipping?