How is Logistic Regression different from Linear Regression?

Quick Overview

Explain how logistic regression differs from linear regression, covering what each model predicts, the loss it minimizes and how it is fit. Tests core understanding of regression versus classification and how to read model coefficients.

How is Logistic Regression different from Linear Regression?

Role: Data Scientist

Category: Machine Learning

Difficulty: easy

Interview Round: Other

How is logistic regression different from linear regression? Both models start from the same linear score $w \cdot x + b$, so explain what each one does with that score. ```hint Follow the linear score Ask what each model treats $w \cdot x + b$ as, and what kind of loss makes sense for that kind of target. ``` ### What a Strong Answer Covers - The kind of target each model handles and the range of its output - How the linear score is turned into a prediction in each model (the link function) - The loss each model minimizes and how it connects to maximum likelihood - How each model is fit: closed form or iterative optimization - When each model is the right choice, and why a straight line is a poor fit for a binary target ### Follow-up Questions - Why is mean squared error a poor loss for logistic regression? - How do you interpret a logistic regression coefficient compared with a linear regression coefficient? - What happens to logistic regression when the two classes are perfectly separable? - How does logistic regression extend to more than two classes?

Overview: Explain how logistic regression differs from linear regression, covering what each model predicts, the loss it minimizes and how it is fit. Tests core understanding of regression versus classification and how to read model coefficients.

General logo
General
Nov 24, 2026
easyData ScientistOtherMachine Learning
0
0

How is logistic regression different from linear regression? Both models start from the same linear score w⋅x+bw \cdot x + b, so explain what each one does with that score.

What a Strong Answer Covers Guidance

  • The kind of target each model handles and the range of its output
  • How the linear score is turned into a prediction in each model (the link function)
  • The loss each model minimizes and how it connects to maximum likelihood
  • How each model is fit: closed form or iterative optimization
  • When each model is the right choice, and why a straight line is a poor fit for a binary target

Follow-up Questions Guidance

  • Why is mean squared error a poor loss for logistic regression?
  • How do you interpret a logistic regression coefficient compared with a linear regression coefficient?
  • What happens to logistic regression when the two classes are perfectly separable?
  • How does logistic regression extend to more than two classes?