Tag: Q-Learning
-
Q-Learning from Scratch: 50-Line Agent Beats Random by 94%
Write a 50-line Q-Learning agent that beats random policy by 94% on FrozenLake. Hyperparameter mistakes, convergence curves, and why it fails on CartPole.
-
RL Basics: MDP to Q-Learning in 5 Diagrams
Learn MDP fundamentals and Q-learning algorithms through 5 clear diagrams. Build intuition for reinforcement learning core concepts step-by-step.
-
From Q-Learning to DQN: Your First RL Algorithms
Implement Q-Learning from scratch, then scale up to Deep Q-Networks with experience replay and target networks. Complete PyTorch code included.
-
Q-Learning for Grid Worlds: Building Your First Game AI Agent
Train your first game AI in 50 lines of Python โ no neural networks needed. Pure Q-learning with the Bellman equation for grid worlds.
-
Game AI with RL: Why It Beats Traditional Methods
Why RL beats rule-based game AI: exploration-exploitation tradeoff, credit assignment, and when traditional pathfinding still wins.