Log inStart free
LESSON 18.01 · 6 STAGES · 3 CONTROLS · 2 CHECKSPRO · PREVIEW

Seeds, episodes and sources of variance

See how seeds, episodes and crashed runs move an RL score and its interval.


Pro lesson. Stage 1 is free to watch. Pro opens all 6 stages, 3 controls and 2 checks, in this lesson and every other.

Go Pro · $8.25/mo
EXPLAINER · 18.01 · EVALUATION BAY4 DEV · 4 VAL · 20 TEST TASKS
01
Stage 1 of 6 · Three task sets
The 4 development tasks find bugs, and the 4 validation tasks pick settings. The 20 test tasks run once.
Explain it simply

Each row of squares is one corridor task. You debug your code on the development tasks as often as you like. You pick settings on the validation tasks. The test tasks stay locked until the end, so the final score was never tuned on them.

Three boxes of corridor tasks: 4 development tasks, 4 validation tasks and 20 test tasks. Each task has 5 to 10 cells and a slip chance.

tasks and episodesseeds and settingsspread, crashes, naive intervalsscores and intervals
development · 4 tasksfind bugs, run oftentask 1slip 0.15task 2slip 0.10task 3slip 0.20task 4slip 0.25validation · 4 taskspick settingstask 1slip 0.05task 2slip 0.25task 3slip 0.20task 4slip 0.15final test · 20 tasksrun once, at the endtask 1slip 0.20task 2slip 0.20task 3slip 0.20task 4slip 0.25task 5slip 0.15task 6slip 0.10task 7slip 0.10task 8slip 0.20task 9slip 0.10task 10slip 0.20task 11slip 0.05task 12slip 0.25task 13slip 0.20task 14slip 0.25task 15slip 0.25task 16slip 0.10task 17slip 0.20task 18slip 0.25task 19slip 0.20task 20slip 0.15three task poolstest ∩ (development ∪ validation) = ∅development · 4 tasksfind bugs, run oftentask 1slip 0.15task 2slip 0.10task 3slip 0.20task 4slip 0.25validation · 4 taskspick settingstask 1slip 0.05task 2slip 0.25task 3slip 0.20task 4slip 0.15final test · 20 tasksrun once, at the endtask 1slip 0.20task 2slip 0.20task 3slip 0.20task 4slip 0.25task 5slip 0.15task 6slip 0.10task 7slip 0.10task 8slip 0.20task 9slip 0.10task 10slip 0.20task 11slip 0.05task 12slip 0.25task 13slip 0.20task 14slip 0.25task 15slip 0.25task 16slip 0.10task 17slip 0.20task 18slip 0.25task 19slip 0.20task 20slip 0.15three task poolstest ∩ (development ∪ validation) = ∅
Toy: 2 Q-learning algorithms × 5 seeds × 20 corridor tasks
STAGE 1 / 6
MATH · STAGE 1HOVER A SYMBOL OR A SHAPE
Ttest∩(Tdev∪Tval)=∅\sy{test}{data}{\mathcal{T}_{\text{test}}} \cap (\sy{dev}{data}{\mathcal{T}_{\text{dev}}} \cup \sy{val}{data}{\mathcal{T}_{\text{val}}}) = \varnothing
∣Tdev∣=4, ∣Tval∣=4, ∣Ttest∣=20|\mathcal{T}_{\text{dev}}| = 4,\ |\mathcal{T}_{\text{val}}| = 4,\ |\mathcal{T}_{\text{test}}| = 20

No test task is also a development or validation task.

Common mix-ups

MYTHA hundred episodes from one seed give a sure result.

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

Predict, then reveal
2 CHECKS · PRO
Q01With 5 seeds, does A's clustered interval shrink as much as the naive one from 10 to 100 episodes?

Make your guess, then test it in the diagram. All 2 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 2 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.