PART 1
0/3Q-Table Setup
Initialize the tabular value store and basic lookups over states and actions.
Train a tabular Q-learning agent with epsilon-greedy exploration and greedy evaluation.
Every source step is its own lesson with intuition, concepts, correctly rendered MathJax mathematics, implementation, tests, mistakes, and a checkpoint.
Initialize the tabular value store and basic lookups over states and actions.
Implement exploration vs exploitation using random sampling and epsilon decay.
Compute TD targets, errors, and apply the Q-learning update to table entries.
Combine action selection, environment stepping, and updates into episodes and full training runs.
Derive a greedy policy from the trained Q-table and measure its success rate on FrozenLake.