Skip to content
BENIBIX Learn

Logistic Regression

AI📈 Machine LearningClassic ML Algorithms

Also known as Logit Model, Logistic Model

It gives the chance that something is true. Then it turns that into yes or no.

Think of it like

Think of it like a light that fades from off to on. It is not just on or off.

Example

Lucy's model gives a loan request a 0.82 chance of being paid back. That is above her cut-off of 0.7, so it says approve.

Why it matters

It is fast, clear and hard to beat on simple yes or no tasks. Banks and hospitals use it because they can explain it.

Definition

Logistic regression is a method that guesses the chance that something is true, such as the chance an email is spam. It adds up the features with weights, like linear regression does. Then it bends that sum into an S-shaped curve that always stays between 0 and 1. A cut-off, often 0.5, turns the chance into a yes or a no. Despite its name, it is used for classification.
Logistic regression is the right panel. An S-curve turns any total into a chance from 0 to 1.

Common mistake

Thinking it guesses numbers because of the word regression. It answers yes or no questions.

Key takeaways

  1. 1
    A chance out. Always between 0 and 1.
  2. 2
    S-shaped curve. Bends the weighted sum.
  3. 3
    A cut-off decides. Chance becomes yes or no.

Compare

Learn it properly