If a logistic regression model outputs a probability very close to 0 or 1, what can be inferred about the logit value?

Quick Overview

Asks what a logistic regression probability very close to 0 or 1 implies about the underlying logit. Tests understanding of log-odds, the shape of the sigmoid, and what the logit value says about the fitted model and its training data.

If a logistic regression model outputs a probability very close to 0 or 1, what can be inferred about the logit value?

Role: Data Scientist

Category: Machine Learning

Difficulty: easy

Interview Round: Other

If a logistic regression model outputs a probability very close to 0 or 1, what can be inferred about the logit value? ```hint Look at the ends of the curve Picture the sigmoid near its flat ends. How much does the input have to change to move the output from 0.99 to 0.999? ``` ### What a Strong Answer Covers - The sign and size of the logit for probabilities near 0 and near 1. - The link between the logit and the log-odds, with a numeric example. - How the shape of the sigmoid explains the relationship. - What the logit value implies about the fitted model and its training data. ### Follow-up Questions - What happens to the maximum likelihood estimates when the training data are perfectly separable? - Saturation flattens the sigmoid. Why does that not stall gradient descent under log-loss, and would it under squared error? - How would you compute log-loss without numerical problems when logits are very large? - If the model outputs 0.999 for many examples, how would you check whether those probabilities are calibrated?

Overview: Asks what a logistic regression probability very close to 0 or 1 implies about the underlying logit. Tests understanding of log-odds, the shape of the sigmoid, and what the logit value says about the fitted model and its training data.

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

If a logistic regression model outputs a probability very close to 0 or 1, what can be inferred about the logit value?

What a Strong Answer Covers Guidance

  • The sign and size of the logit for probabilities near 0 and near 1.
  • The link between the logit and the log-odds, with a numeric example.
  • How the shape of the sigmoid explains the relationship.
  • What the logit value implies about the fitted model and its training data.

Follow-up Questions Guidance

  • What happens to the maximum likelihood estimates when the training data are perfectly separable?
  • Saturation flattens the sigmoid. Why does that not stall gradient descent under log-loss, and would it under squared error?
  • How would you compute log-loss without numerical problems when logits are very large?
  • If the model outputs 0.999 for many examples, how would you check whether those probabilities are calibrated?