LESSON 15.18 · 6 STAGES · 3 CONTROLS · 3 CHECKSPRO · PREVIEW
Value iteration and Bellman contraction
Watch value iteration sweep a gridworld until two different starts agree.
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/moEXPLAINER · 15.18 · VALUE BAYSLIP 20% · MOVE −0.04 · γ 0.90
01
Stage 1 of 6 · The gridworld
A move costs 0.04 and slips sideways with chance 20%. The goal pays 1, the pit costs 1, and both end the episode.
Explain it simply
This is a small world that the code knows completely, every reward and every chance. The arrows show one move up. It goes up 80% of the time and slides to each side 10% of the time. Value iteration uses this full model, so it never has to play a single game.
A 4 by 4 grid. The goal is top right, the pit is under it, and the wall is in row 2. The start is bottom left. A move up from row 2, column 3 goes up with chance 80%.
value above 0, resultvalue below 0, gap, errormove chances, γ, stop linescell
Toy: 4×4 gridworld, 1 goal, 1 pit, 1 wall
MATH · STAGE 1HOVER A SYMBOL OR A SHAPE
A move goes the chosen way or slips to a side.
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.