Log inStart free
LESSON 4.23 · 6 STAGES · 3 CONTROLS · 3 CHECKSPRO · PREVIEW

AdaBoost

Watch weak stumps take turns, each one aimed at the last one's misses.


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/mo
EXPLAINER · 4.23 · BOOSTING BAY40 POINTS · WEIGHT 0.025 EACH
01
Stage 1 of 6 · Equal weights
Boosting trains weak models one after another. At the start, every point weighs the same: 0.025.
Explain it simply

You see the 40 points of two moons. Dots are class 1, the plus 1 class, and squares are class 0, the minus 1 class. Each point also has a weight, shown by its size and by its bar on the right. At the start, every weight is 0.025, one fortieth, so the 40 weights add up to 1.

40 points in two moons, numbered 1 to 40. Dots in the lower moon are class +1. Squares in the upper moon are class −1. Every weight is 0.025.

points: dot +1 (class 1), square −1 (class 0)sample weight, stump, αmissed or wrong point, error εsays +1, the votesays −1
points and stumpssample weights wshare of the total weight−1012−101x₁x₂1/N151015202530354040 equal weightssum = 1.00points and stumpssample weights wshare of the total weight−1012−101x₁x₂1/N151015202530354040 equal weightssum = 1.00
Toy: the 4.C1 two moons · 40 points · decision stumps · up to 32 rounds
STAGE 1 / 6
MATH · STAGE 1HOVER A SYMBOL OR A SHAPE
wi=1N\sy{w}{param}{w_i} = \frac{1}{\sy{N}{data}{N}}
wi=140=0.025 for i=1,…,40w_i = \frac{1}{40} = 0.025\ \text{for } i = 1, \dots, 40

Every point starts with the same weight.

Common mix-ups

MYTHEach new stump trains only on the missed points.

The fix, and 1 more mix-up with the diagram to show them, come with Pro.

Predict, then reveal
3 CHECKS · PRO
Q01With equal weights in every round, does round 2 pick a new stump?

Make your guess, then test it in the diagram. All 3 checks come with Pro.

PRO LESSON · YOU WATCHED STAGE 1 OF 6
Unlock the full explainer
  • 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.