June 2018
Intermediate to advanced
436 pages
10h 33m
English
Now we know the state and the action to perform. However, the QLearning agent needs to know the search space of the form (states x actions). The next step consists of creating the graph or search space, which is the container responsible for any sequence of states. The QLSpace class defines the search space (states x actions) for the QLearning algorithm, as shown in the following diagram:

The end user with a list of states and actions can provide the search space. Alternatively, it is automatically created by providing the number of states, by ...