← All tools
EDTOOLKITS GUIDES

Reinforcement Learning: Explore, Update and Test the Policy

By Team Edtoolkits · AI learning

Follow Q-learning in a small grid and compare exploratory training with the policy learned from rewards.

Use the guide alongside the working tool.

Open Reinforcement Learning →

Explore the lesson

Watch the mouse learn from many tries.

In the playground, train the mouse and move the traps and cheese.

Flip the memory card and answer the quick check.

A comparison to try

Train with exploration enabled and watch the action-value table change. Then inspect the greedy policy, separating moves taken to explore from the moves currently judged best.

Read the result

The update combines immediate reward with an estimate of future reward. At a terminal goal or pit there is no future step to add. More wandering during training does not necessarily mean the final policy prefers wandering.

A mistake to avoid

The world is a tiny seeded grid, not a realistic environment. Rewards, walls and exploration settings shape the learned behaviour. A high reward here says nothing about safety or useful performance under new rules or unfamiliar states.

Teaching model and privacy

This is a tiny teaching version of Q-learning on a 5 by 4 grid, with a table instead of a neural network. Everything runs in your browser.

Ready to apply this workflow?

Try Reinforcement Learning →

Explore a related workflow

All practical guides →

Found unclear instructions or an unexpected result? Contact Team Edtoolkits.

YOUR BROWSER, YOUR CHOICE