LESSON 15.12 · 5 STAGES · 3 CONTROLS · 3 CHECKSPRO · PREVIEW
Multi-armed bandits and regret
Watch an agent pull 5 slot-machine arms and pay for every wrong pull.
Pro lesson. Stage 1 is free to watch. Pro opens all 5 stages, 3 controls and 3 checks, in this lesson and every other.
Go Pro · $8.25/moEXPLAINER · 15.12 · BANDIT BAY5 ARMS · BEST CHANCE 0.7 · Q₀ = 0
01
Stage 1 of 5 · The bandit
A multi-armed bandit has 5 arms. Each pull pays 1 with a hidden chance, else 0.
Explain it simply
Think of 5 slot machines in a row. Each one pays 1 point with its own chance, shown by the dashed marks. The agent cannot see those marks. It only has its guesses, the bars, and they all start at 0.
Five arms. Their hidden chances to pay are 0.2, 0.5, 0.7, 0.4, 0.6. Arm 3 is best. Every estimate starts at 0.
hidden chanceestimate Qexploit pullexplore pullregret
Toy: 5 arms, 1,000 pulls, 3 seeded runs
MATH · STAGE 1HOVER A SYMBOL OR A SHAPE
Arm a pays 1 with chance mu; every estimate starts at Q₀.
PRO LESSON · YOU WATCHED STAGE 1 OF 5
Unlock the full explainer
- 4 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.