MPE StudioMath of Planet Earth
Machine Learning Toolkit · 07

Logistic Regression

Probabilistic classification for binary outcomes

Logistic regression sends a linear score through a sigmoid so that the output lies between zero and one and can be interpreted as a class probability.

watchone idea
→
manipulateone example
→
leave withone intuition

The essential idea: a linear decision boundary can produce calibrated probabilities through the sigmoid link.

Watch the concept

One Concept · One Example

Logistic Regression video thumbnail▶

Logistic Regression

Presented by Charlotte Moser

Watch on YouTube ↗

What to notice

The idea in 30 seconds

A line becomes a probability

Probability model

The conditional probability is the sigmoid of a weighted feature score.

P(y=1|x)=σ(wTx+b)

Training loss

Binary cross-entropy rewards confident correct predictions and strongly penalizes confident mistakes.

L=−ylogp−(1−y)log(1−p)
Explore

Move the score and the classification threshold

Adjust the weight, bias, and threshold. See the probability curve and resulting decision change.

KEY TAKEAWAY

Logistic regression couples a linear score with the sigmoid to produce trainable binary class probabilities.