Reinforcement Learning

Watch agents learn by trial and error. Balance exploration and exploitation, compute values with dynamic programming, and train a Q-learning agent in a grid world.

Key concepts

Agent and Environment

The agent acts, the environment responds with a new state and a reward

Rewards and Returns

The goal is to maximize total discounted reward, not just the next one

Value Functions

How good it is to be in a state, or to take an action in a state

Exploration vs Exploitation

Try new actions to learn more, or use what already works

Visualizations