Logistic regression
Watch a sigmoid turn a straight-line score into a probability and a boundary.
Pro lesson. Stage 1 is free to watch. Pro opens all 6 stages, 3 controls and 3 checks, in this lesson and every other.
Go Pro · $8.25/moExplain it simply
Each teal mark is a point with two features, x₁ and x₂. Dots have the label 1, and squares have the label 0. The score multiplies each feature by its weight and adds the bias b. The grey lines join spots with the same score, and they all cross the ochre arrow w at right angles.
Twelve points on a plane: six dots with label 1 and six squares with label 0. The first guess is w = (−0.5, 1) and b = 0.5. Grey lines of equal score cross the arrow w. Point 1 has the score 0.65.
The score adds each feature times its weight, plus the bias b.
- 5 more stages and 3 live controls
- 2 mix-up cards and 3 predict-then-reveal checks
- Watch it as a narrated video, in three voices
- Every Pro lesson and capstone · 656 in total
$99 a year, or $15 a month. Cancel any time.