Gathering n-step experiences using the current policy

The next step is to perform what are called rollouts using the current policy of the agent to collect n number of transitions. This process is basically letting the agent interact with the environment and generating new experiences in terms of state transitions, usually represented as a tuple containing the state, action, reward obtained, and next state, or in short (, , , ), as illustrated ...

Get Hands-On Intelligent Agents with OpenAI Gym 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.