What is a minimal, defensible baseline for an imbalanced supervised classification task?

Quick Overview

Asks for a minimal, defensible baseline for a supervised classification problem with rare positives. Tests the choice of a reference model, evaluation splits and metrics that suit class imbalance, threshold selection from error costs, and probability calibration.

What is a minimal, defensible baseline for an imbalanced supervised classification task?

Role: Machine Learning Engineer

Category: Machine Learning

Difficulty: medium

Interview Round: Other

What is a minimal, defensible baseline for an imbalanced supervised classification task? ```hint Anchor the numbers first Before training a real model, work out what a model that always predicts the majority class would score on each metric you plan to report. ``` ```hint Separate scoring from deciding A model outputs scores, but an action needs a yes or no. Treat choosing the decision threshold as its own step with its own data. ``` ### What a Strong Answer Covers - A trivial reference model and what it scores, used to show which metrics carry information - A simple, regularized model and how it accounts for the class imbalance - An evaluation split and metrics suited to rare positives - How the decision threshold is chosen, and what the imbalance handling does to probability calibration - Why each choice is the simplest one that still holds up to review ### Follow-up Questions - When would you use resampling (random undersampling, SMOTE) instead of class weights? - Your PR-AUC is 0.30 and the positive rate is 0.5%. Is that a good result? - How do you choose the threshold without leaking information from the test set? - How would the baseline change if the rows have a time order?

Overview: Asks for a minimal, defensible baseline for a supervised classification problem with rare positives. Tests the choice of a reference model, evaluation splits and metrics that suit class imbalance, threshold selection from error costs, and probability calibration.

Nov 24, 2026
mediumMachine Learning EngineerOtherMachine Learning
0
0

What is a minimal, defensible baseline for an imbalanced supervised classification task?

What a Strong Answer Covers Guidance

  • A trivial reference model and what it scores, used to show which metrics carry information
  • A simple, regularized model and how it accounts for the class imbalance
  • An evaluation split and metrics suited to rare positives
  • How the decision threshold is chosen, and what the imbalance handling does to probability calibration
  • Why each choice is the simplest one that still holds up to review

Follow-up Questions Guidance

  • When would you use resampling (random undersampling, SMOTE) instead of class weights?
  • Your PR-AUC is 0.30 and the positive rate is 0.5%. Is that a good result?
  • How do you choose the threshold without leaking information from the test set?
  • How would the baseline change if the rows have a time order?