ML
beginner
Logistic Regression
AI Engineer path · lesson 14 of 124Foundation of binary classification - learn decision boundaries, sigmoid function, and probability predictions.
Logistic Regression
Learn binary classification using the sigmoid function and decision boundaries
Weight 1 (w₁)
0.100
Weight 2 (w₂)
0.100
Bias (b)
0.000
Learning Rate
0.100
50.0%
Accuracy
0
Epochs
Cross-entropy Loss:0.5878
Correct:15/30
Class 0Class 1Decision boundaryMisclassified
Decision Rule
Predict Class 1 if p ≥ 0.5, else Class 0
From features to a class
Sequence
Order what logistic regression computes.
Tap a piece, then tap where it goes — or drag it. Tap the tray to take one back.
- 1Drop a step here
- 2Drop a step here
- 3Drop a step here
- 4Drop a step here
4 pieces left to place
Test your knowledge
22 questions
Question 1 of 22
Score: 0
What function maps the output to a probability between 0 and 1?
Learn these first
Interview Questions
Google
DeepMind
Amazon
Microsoft
References & Further Reading
Love this visualization?
Sign up to track your progress, earn achievements, use the AI assistant, and access your personal learning dashboard.
100% free • No credit card required