Q-learning: watch a table learn
Published:
Follow one experience into one changed table cell, then watch exploration and delayed rewards turn local updates into a policy.
RL From Zero is a series about reinforcement learning algorithms, built from scratch and explained one idea at a time. Each post takes one algorithm from my open-source RL-from-zero repository and shows how it actually learns, from its first update to a trained agent.
In the repository, each algorithm lives in its own self-contained package with a shared command-line interface, YAML-driven configuration, and optional experiment tracking with Weights & Biases. That means every post can point to real code you can run, not pseudocode.
The repository spans tabular methods, deep value-based learning, policy gradients, actor-critic methods, offline RL, and multi-agent RL. The series starts at the simplest end, a table of Q-values, and builds toward the methods that replace that table with neural networks.
23 minute read
Published:
Follow one experience into one changed table cell, then watch exploration and delayed rewards turn local updates into a policy.
25 minute read
Published:
Replace the table with a network, then follow one real gradient step through replay, a frozen target, and a value map that changes everywhere at once.
The series introduction is also on Medium and Substack. To get each new part by email, subscribe on Substack.