April 2019
Intermediate to advanced
212 pages
5h 34m
English
An action is any decision that we make from a state. The state that we are in determines the actions we can take. If we are in a maze and to the right of a wall, we can't turn left, but in other locations, we can turn left. Turning left may or may not be in the list of possible actions that we can take in any particular state.
A reward is the outcome we receive for making a decision in an environment. Our Q-learning agent will keep track of the rewards it receives and will try to maximize the future rewards that it expects to receive with each action it takes.
The reward function for a driving simulator can be something straightforward, such as the following:
Read now
Unlock full access