June 2018
Intermediate to advanced
436 pages
10h 33m
English
We will be developing a simple game by initializing a grid in exactly the same way each time. The game starts with the agent (A), goal (+), pit (-), and wall (W). All elements are randomly placed on the grid in each game. This is such that the Q-learning just needs to learn how to move the agent from a known starting position to a known goal without hitting the pit, which gives negative rewards. Take a look at this screenshot:

In short, the target of the game is to reach the goal, where the agent will receive a numerical reward. For ...
Read now
Unlock full access