July 2018
Intermediate to advanced
254 pages
8h 12m
English
Let's implement an experience memory class to store the experiences collected by the agent. Before that, let's cement our understanding of what we mean by experience. In reinforcement learning where the problems are represented using Markov Decision Processes (MDP), which we discussed in Chapter 2, Reinforcement Learning and Deep Reinforcement Learning, it is efficient to represent one experience as a data structure that consists of the observation at time step t, the action taken following that observation, the reward received for that action, and the next observation (or state) that the environment transitioned to due to the agent's action. It is useful to also include the "done" Boolean value that signifies ...
Read now
Unlock full access