Why is linear regression generally not suitable for binary classification tasks, and what "breaks" in the model?

Quick Overview

Asks why ordinary linear regression is a poor fit for a binary target and which parts of the model stop working. Tests understanding of bounded probabilities, the OLS error assumptions, how squared loss moves the decision boundary, and what logistic regression changes.

Why is linear regression generally not suitable for binary classification tasks, and what "breaks" in the model?

Role: Data Scientist

Category: Machine Learning

Difficulty: medium

Interview Round: Other

Why is linear regression generally not suitable for binary classification tasks, and what "breaks" in the model? ```hint Check the output range Write down what the fitted line predicts for very large and very small values of a feature, and compare that with the values a probability can take. ``` ```hint Look at the loss Think about how squared error treats an example that is far from the decision boundary and already on the correct side. ``` ### What a Strong Answer Covers - Why predictions outside the 0 to 1 range are a problem and when they occur - Which OLS error assumptions a 0/1 target violates, and what that does to inference - Why a straight line is a poor shape for a probability, including the effect of points far from the boundary - The standard fix and what it changes in the model - When a linear probability model is still acceptable ### Follow-up Questions - If you must report a linear probability model, how would you get valid standard errors? - How does squared loss compare with log loss for an example that is far on the correct side of the boundary? - Can you threshold linear regression output at 0.5 and use it as a classifier? When does that work and when does it fail? - Why does a logistic regression coefficient have a different interpretation from the slope of a linear probability model?

Overview: Asks why ordinary linear regression is a poor fit for a binary target and which parts of the model stop working. Tests understanding of bounded probabilities, the OLS error assumptions, how squared loss moves the decision boundary, and what logistic regression changes.

Nov 24, 2026
mediumData ScientistOtherMachine Learning
0
0

Why is linear regression generally not suitable for binary classification tasks, and what "breaks" in the model?

What a Strong Answer Covers Guidance

  • Why predictions outside the 0 to 1 range are a problem and when they occur
  • Which OLS error assumptions a 0/1 target violates, and what that does to inference
  • Why a straight line is a poor shape for a probability, including the effect of points far from the boundary
  • The standard fix and what it changes in the model
  • When a linear probability model is still acceptable

Follow-up Questions Guidance

  • If you must report a linear probability model, how would you get valid standard errors?
  • How does squared loss compare with log loss for an example that is far on the correct side of the boundary?
  • Can you threshold linear regression output at 0.5 and use it as a classifier? When does that work and when does it fail?
  • Why does a logistic regression coefficient have a different interpretation from the slope of a linear probability model?