REINFORCEjs (Reinforcement Learning Demos)

A set of demos for a JavaScript reinforcement learning library that runs straight in the browser. You can watch values settle in a gridworld under dynamic programming and tabular temporal-difference learning (SARSA and Q-learning), and watch deep Q-learning (DQN) agents move in PuckWorld and WaterWorld. You come away seeing the basic structure of reinforcement learning: behaviour is refined by nothing more than rewards and penalties.

REINFORCEjs (Reinforcement Learning Demos)

How to try it

Pick 'GridWorld: DP', 'GridWorld: TD', 'PuckWorld: DQN' or 'WaterWorld: DQN' from the top menu to open that demo, then watch the cell values and arrows, or the agent's movement, change as learning proceeds. The About text on the front page explains which of the four methods suits which kind of problem, which helps you decide where to start. The site is English only.