What does the logistic regression model actually learn during training?

Quick Overview

Asks what a logistic regression model learns when it is trained on labeled data. Tests whether you can explain the weights and intercept on the log-odds scale, the log loss objective and how it is optimized, and the linear decision boundary those parameters define.

What does the logistic regression model actually learn during training?

Role: Data Scientist

Category: Machine Learning

Difficulty: easy

Interview Round: Other

What does the logistic regression model actually learn during training? ```hint Find the linear part Write the predicted probability as a function of the parameters, then ask which quantity is linear in the features and what the training objective rewards. ``` ### What a Strong Answer Covers - The parameters the model fits and how a single weight is interpreted - The training objective and how it is optimized - The shape of the decision boundary the parameters define - What the fitted probabilities mean, and a case where training breaks down ### Follow-up Questions - What happens to the weights when the training data are perfectly linearly separable? - How does L2 regularization change what the model learns? - How can logistic regression produce a nonlinear decision boundary? - Why is log loss used for training instead of squared error on the predicted probability?

Overview: Asks what a logistic regression model learns when it is trained on labeled data. Tests whether you can explain the weights and intercept on the log-odds scale, the log loss objective and how it is optimized, and the linear decision boundary those parameters define.

Nov 25, 2026
easyData ScientistOtherMachine Learning
0
0

What does the logistic regression model actually learn during training?

What a Strong Answer Covers Guidance

  • The parameters the model fits and how a single weight is interpreted
  • The training objective and how it is optimized
  • The shape of the decision boundary the parameters define
  • What the fitted probabilities mean, and a case where training breaks down

Follow-up Questions Guidance

  • What happens to the weights when the training data are perfectly linearly separable?
  • How does L2 regularization change what the model learns?
  • How can logistic regression produce a nonlinear decision boundary?
  • Why is log loss used for training instead of squared error on the predicted probability?