juniorLogistic Regression
What is Logistic Regression?
Updated May 17, 2026
Short answer
Logistic Regression is a supervised learning algorithm used for classification problems.
Deep explanation
It predicts probabilities using the sigmoid function and maps outputs between 0 and 1. Unlike linear regression, Logistic Regression is designed for categorical outputs. The model estimates the likelihood of class membership using maximum likelihood estimation.
Real-world example
Email providers use Logistic Regression to classify spam emails.
Common mistakes
- Using it directly on highly non-linear datasets without transformations.
Follow-up questions
- Why is it called regression?
- Can it solve multiclass problems?