Learn

Learning preferences

Make learning more comfortable. Changes apply immediately.

Enlarges page content, including diagrams and their labels. You can also use your browser’s zoom.

Choose the colours that are easiest for you to distinguish. Applies to lesson diagrams and lab plots. Labels, shapes, hatching and line patterns also distinguish meanings. Source photographs and raw image brightness stay unchanged; mask-only views are available for image overlays.

ExampleComparisonSample link

Saved in this browser on this device. Preferences are separate from progress backups.

MODULE 08

Learning through actions

Explore how rewards and experience shape decisions.

What you’ll explore

  • Reinforcement learning
  • Exploration
  • Self-play
Based on ebook lessons 10, 16.Read the source

Your lessons

0 / 14 complete
01
Ready to explore

Explore before you decide

Choose between uncertain rewards and discover why trying a new option can improve later decisions.

Open
02
Ready to explore

Learn from delayed rewards

Teach an agent a route, inspect a Q-learning update, and uncover a reward rule that rewards the wrong behavior.

Open
03
Ready to explore

Solve the Bellman equations

Compute values in a small looping decision process, separate policy evaluation from improvement, and compare exact expectations with sampled returns.

Open
04
Ready to explore

What can the agent observe?

Hide a cart’s velocity, compare aliased observations and recover motion from a short exact history.

Open
05
Ready to explore

Copy a demonstrated action

Train a puzzle policy from exact expert targets, inspect legal masks and compare proposals after a non-expert move.

Open
06
Ready to explore

Learn from verified self-play

Generate game experience, check it against exact rules, and use verified outcomes to change future decisions.

Open
07
Ready to explore

Know which policy produced the data

Compare a logged behavior policy with a target policy using trajectory weights, coverage checks and bounded replay.

Open
08
Ready to explore

Stabilize neural Q-learning

Train a small neural action-value model and compare replay sampling with delayed target networks.

Open
09
Ready to explore

Increase the probability of useful actions

Learn a stochastic policy from sampled returns and inspect the variance of actual updates.

Open
10
Ready to explore

Use a critic to guide learning

Train separate policy and value heads, trace their coupled updates, and audit a biased bootstrap.

Open
11
Ready to explore

Limit a policy update

Compare raw and clipped probability-ratio objectives on the same frozen batch, and test the limits of clipping.

Open
12
Ready to explore

Trade off reward and exploration with entropy

Train a bounded continuous actor and twin critics, and compare task reward with action-distribution entropy.

Open
13
Ready to explore

Learn without new interactions

Fit policies from a fixed log, trace unsupported action values, and test a conservative objective against behavior cloning.

Open
14
Ready to explore

Evaluate learning fairly

Compare complete seed cohorts, data and fitting budgets, frozen checkpoints and task success under a misleading reward bonus.

Open