March 2019
Intermediate to advanced
184 pages
4h 57m
English
We will next consider the grid world problem, and we will use SARSA to solve it. We will introduce obstacles in place of a cliff. The goal of the agent is to navigate the grid world from start to destination by avoiding the obstacles. We will store the coordinates of the obstacle cells in the obstacle_cells list, where each entry is the (x, y) coordinate of the obstacle cell.
Here is a summary of the steps involved in this task:
Here, we will start coding the algorithm in Python:
import numpy ...
Read now
Unlock full access