Building blocks of reinforcement learning

Now that we have seen a few examples, let's dig into the building blocks of a reinforcement learning system. Apart from the interaction between the agent and the environment, there are other factors at play here:

Building blocks of reinforcement learning

A typical reinforcement learning agent goes through the following steps:

  • There is a set of states related to the agent and the environment. At a given point of time, the agent observes an input state to sense the environment.
  • There are policies that govern what action needs to be taken. These policies act as decision making functions. The action is determined based on the input state using these ...

Get Artificial Intelligence with Python now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.