Skip to content
BIASED

Q-learning and temporal-difference learning

Block 1 of 6~1 min

From a model to samples

Games and Monte Carlo tree search still needed a model: rules, a simulator, or experience from which to learn one. Value iteration needs PP and RR explicitly. Most agents have neither. They act, see one transition (St,At,Rt+1,St+1)(S_t,A_t,R_{t+1},S_{t+1}), and must improve from that. Reinforcement learning estimates the Bellman expectations by averaging samples: estimate ← estimate + α \alpha\,(target − estimate).

Answers are saved on the server and tied to this browser until you sign in.

Go deeper — optional

Code and labs do not count toward the main percentage or the certificate.

  • One Q-learning updateoptional

    Apply Q(s,a) ← Q + α[r + γ max Q(s',·) − Q] on a 2×2 table; match the new value.

    ~20 min · easier on a computer · The matching course topic has been read.

    Self-check in the notebook — not part of mastery or the certificate.