Book description
Implement intelligent agents using PyTorch to solve classic AI problems, play console games like Atari, and perform tasks such as autonomous driving using the CARLA driving simulator
Key Features
- Explore the OpenAI Gym toolkit and interface to use over 700 learning tasks
- Implement agents to solve simple to complex AI problems
- Study learning environments and discover how to create your own
Book Description
Many real-world problems can be broken down into tasks that require a series of decisions to be made or actions to be taken. The ability to solve such tasks without a machine being programmed requires a machine to be artificially intelligent and capable of learning to adapt. This book is an easy-to-follow guide to implementing learning algorithms for machine software agents in order to solve discrete or continuous sequential decision making and control tasks.
Hands-On Intelligent Agents with OpenAI Gym takes you through the process of building intelligent agent algorithms using deep reinforcement learning starting from the implementation of the building blocks for configuring, training, logging, visualizing, testing, and monitoring the agent. You will walk through the process of building intelligent agents from scratch to perform a variety of tasks. In the closing chapters, the book provides an overview of the latest learning environments and learning algorithms, along with pointers to more resources that will help you take your deep reinforcement learning skills to the next level.
What you will learn
- Explore intelligent agents and learning environments
- Understand the basics of RL and deep RL
- Get started with OpenAI Gym and PyTorch for deep reinforcement learning
- Discover deep Q learning agents to solve discrete optimal control tasks
- Create custom learning environments for real-world problems
- Apply a deep actor-critic agent to drive a car autonomously in CARLA
- Use the latest learning environments and algorithms to upgrade your intelligent agent development skills
Who this book is for
If you're a student, game/machine learning developer, or AI enthusiast looking to get started with building intelligent agents and algorithms to solve a variety of problems with the OpenAI Gym interface, this book is for you. You will also find this book useful if you want to learn how to build deep reinforcement learning-based agents to solve problems in your domain of interest. Though the book covers all the basic concepts that you need to know, some working knowledge of Python programming language will help you get the most out of it.
Table of contents
- Title Page
- Copyright and Credits
- Dedication
- Packt Upsell
- Contributors
- Preface
- Introduction to Intelligent Agents and Learning Environments
-
Reinforcement Learning and Deep Reinforcement Learning
- What is reinforcement learning?
- Understanding what AI means and what's in it in an intuitive way
- Practical reinforcement learning
- Markov Decision Process
- Planning with dynamic programming
- Monte Carlo learning and temporal difference learning
- SARSA and Q-learning
- Deep reinforcement learning
- Practical applications of reinforcement and deep reinforcement learning algorithms
- Summary
- Getting Started with OpenAI Gym and Deep Reinforcement Learning
- Exploring the Gym and its Features
-
Implementing your First Learning Agent - Solving the Mountain Car problem
- Understanding the Mountain Car problem
- Implementing a Q-learning agent from scratch
- Training the reinforcement learning agent at the Gym
- Testing and recording the performance of the agent
- A simple and complete Q-Learner implementation for solving the Mountain Car problem
- Summary
-
Implementing an Intelligent Agent for Optimal Control using Deep Q-Learning
- Improving the Q-learning agent
- Implementing a deep Q-learning agent
- The Atari Gym environment
- Training the deep Q-learner to play Atari games
- Summary
- Creating Custom OpenAI Gym Environments - CARLA Driving Simulator
- Implementing an Intelligent - Autonomous Car Driving Agent using Deep Actor-Critic Algorithm
- Exploring the Learning Environment Landscape - Roboschool, Gym-Retro, StarCraft-II, DeepMindLab
- Exploring the Learning Algorithm Landscape - DDPG (Actor-Critic), PPO (Policy-Gradient), Rainbow (Value-Based)
- Other Books You May Enjoy
Product information
- Title: Hands-On Intelligent Agents with OpenAI Gym
- Author(s):
- Release date: July 2018
- Publisher(s): Packt Publishing
- ISBN: 9781788836579
You might also like
book
Multidimensional Modulations in Optical Communication Systems
The book provides a very detailed analysis of the novel possibilities offered to the telecommunication engineer …
book
23rd European Symposium on Computer Aided Process Engineering
Computer-aided process engineering (CAPE) plays a key design and operations role in the process industries, from …
article
Reinventing the Organization for GenAI and LLMs
Previous technology breakthroughs did not upend organizational structure, but generative AI and LLMs will. We now …
book
Heterogeneous Computing with OpenCL 2.0
Heterogeneous Computing with OpenCL 2.0 teaches OpenCL and parallel programming for complex systems that may include …