When would a logistic regression baseline fail, and what would that tell you about the problem structure?

Quick Overview

Asks when a logistic regression baseline breaks down and what its failure reveals about a classification problem. Tests understanding of the model's assumptions, failure modes such as nonlinearity and interactions, and how to read the gap against a more flexible model.

When would a logistic regression baseline fail, and what would that tell you about the problem structure?

Role: Data Scientist

Category: Machine Learning

Difficulty: medium

Interview Round: Other

You train a logistic regression as a baseline for a binary classification problem. When would that baseline fail, and what would the failure tell you about the structure of the problem? ```hint Start from the model's assumption Write down how logistic regression turns features into a probability. Which kinds of relationships between the features and the label can that form not express? ``` ```hint Use a second model as a probe Compare the baseline with a flexible model trained on the same features. Think through what each combination of results (both good, both poor, only one good) would mean. ``` ### What a Strong Answer Covers - The assumption logistic regression makes about the log-odds and the patterns that violate it - Failure modes beyond nonlinearity, such as raw unstructured inputs, perfect separation and features with little signal - How to read the gap between the baseline and a flexible model, including the case where both do poorly - The next step each diagnosis points to: feature engineering, a different model family, or better data ### Follow-up Questions - Logistic regression and a gradient-boosted model reach the same mediocre AUC. What do you investigate next? - How would you confirm that an interaction, and not some other nonlinearity, explains the gap between the two models? - Your logistic regression throws convergence warnings and some coefficients are huge. What is going on? - When would you ship the logistic regression even though a gradient-boosted model scores slightly better?

Overview: Asks when a logistic regression baseline breaks down and what its failure reveals about a classification problem. Tests understanding of the model's assumptions, failure modes such as nonlinearity and interactions, and how to read the gap against a more flexible model.

Nov 25, 2026
mediumData ScientistOtherMachine Learning
0
0

You train a logistic regression as a baseline for a binary classification problem. When would that baseline fail, and what would the failure tell you about the structure of the problem?

What a Strong Answer Covers Guidance

  • The assumption logistic regression makes about the log-odds and the patterns that violate it
  • Failure modes beyond nonlinearity, such as raw unstructured inputs, perfect separation and features with little signal
  • How to read the gap between the baseline and a flexible model, including the case where both do poorly
  • The next step each diagnosis points to: feature engineering, a different model family, or better data

Follow-up Questions Guidance

  • Logistic regression and a gradient-boosted model reach the same mediocre AUC. What do you investigate next?
  • How would you confirm that an interaction, and not some other nonlinearity, explains the gap between the two models?
  • Your logistic regression throws convergence warnings and some coefficients are huge. What is going on?
  • When would you ship the logistic regression even though a gradient-boosted model scores slightly better?