Skip to Content
Deep Reinforcement Learning with Python - Second Edition
book

Deep Reinforcement Learning with Python - Second Edition

by Sudharsan Ravichandiran
September 2020
Intermediate to advanced content levelIntermediate to advanced
760 pages
18h 26m
English
Packt Publishing
Content preview from Deep Reinforcement Learning with Python - Second Edition

2

A Guide to the Gym Toolkit

OpenAI is an artificial intelligence (AI) research organization that aims to build artificial general intelligence (AGI). OpenAI provides a famous toolkit called Gym for training a reinforcement learning agent.

Let's suppose we need to train our agent to drive a car. We need an environment to train the agent. Can we train our agent in the real-world environment to drive a car? No, because we have learned that reinforcement learning (RL) is a trial-and-error learning process, so while we train our agent, it will make a lot of mistakes during learning. For example, let's suppose our agent hits another vehicle, and it receives a negative reward. It will then learn that hitting other vehicles is not a good action and ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Deep Learning with Python, Second Edition

Deep Learning with Python, Second Edition

Francois Chollet
Robust Python

Robust Python

Patrick Viafore

Publisher Resources

ISBN: 9781839210686Supplemental Content