Logistic regression
Lesson 10 of 20 · ML.Micro
A straight border and a probability for each side.
Compute a score z = w₁x₁ + w₂x₂ + b, then squash it into a probability with the sigmoid 1/(1+e⁻ᶻ). The border is where the probability is 50%. The colour fades with uncertainty.
Check yourself
What does the sigmoid do in logistic regression?
Do it in the browser: a real machine learning tool, a short mission and instant feedback. No install.
Start this lesson — free