Back to Actions values and observations
Step 3 of 6· Investigate: Delayed credit
Shared AI lesson · Actions values and observations
Investigate: Delayed credit
Keep the default settings and train 100 episodes three times. Trace the frozen greedy policy. Does it reach G?
Loading this browser experiment…
More things to try · optional
- Inspect a single update: reward, discounted next-state estimate, target, and new Q. Select squares to see how delayed reward travels through the table.
- Set γ to 0 and train again. Explain why a one-step learner cannot value a distant goal before it is next to that goal.
- Choose “Goal + repeatable bonus”, keeping ε = 0.20, α = 0.3 and γ = 0.90. Train 300 episodes and trace the policy. Compare reward with the independent goal check.
Notes, help and related ideas
My notes and reflection
Compare with your prediction
Compare your result with your prediction. Explain a mismatch, then change one condition and try a new case.
Loading your journal…
Your prediction, observation and next question
Prerequisites and related ideas
Key terms: Reward Return Action value (Q) Q-learning Reward hacking