Book description
Leverage the power of reward-based training for your deep learning models with Python
Key Features
- Understand Q-learning algorithms to train neural networks using Markov Decision Process (MDP)
- Study practical deep reinforcement learning using Q-Networks
- Explore state-based unsupervised learning for machine learning models
Book Description
Q-learning is a machine learning algorithm used to solve optimization problems in artificial intelligence (AI). It is one of the most popular fields of study among AI researchers.
This book starts off by introducing you to reinforcement learning and Q-learning, in addition to helping you become familiar with OpenAI Gym as well as libraries such as Keras and TensorFlow. A few chapters into the book, you will gain insights into model-free Q-learning and use deep Q-networks and double deep Q-networks to solve complex problems. This book will guide you in exploring use cases such as self-driving vehicles and OpenAI Gym’s CartPole problem. You will also learn how to tune and optimize Q-networks and their hyperparameters. As you progress, you will understand the reinforcement learning approach to solving real-world problems. You will also explore how to use Q-learning and related algorithms in scientific research. Toward the end, you’ll gain insight into what’s in store for reinforcement learning.
By the end of this book, you will be equipped with the skills you need to solve reinforcement learning problems using Q-learning algorithms with OpenAI Gym, Keras, and TensorFlow.
What you will learn
- Explore the fundamentals of reinforcement learning and the state-action-reward process
- Understand Markov decision processes
- Get well-versed with libraries such as Keras, and TensorFlow
- Create and deploy model-free learning and deep Q-learning agents with TensorFlow, Keras, and OpenAI Gym
- Choose and optimize a Q-network’s learning parameters and fine-tune its performance
- Discover real-world applications and use cases of Q-learning
Who this book is for
If you are a machine learning developer, engineer, or professional who wants to explore the deep learning approach for a complex environment, then this is the book for you. Proficiency in Python programming and basic understanding of decision-making in reinforcement learning is assumed.
Table of contents
- Title Page
- Copyright and Credits
- About Packt
- Contributors
- Preface
- Section 1: Q-Learning: A Roadmap
- Brushing Up on Reinforcement Learning Concepts
- Getting Started with the Q-Learning Algorithm
- Setting Up Your First Environment with OpenAI Gym
- Teaching a Smartcab to Drive Using Q-Learning
- Section 2: Building and Optimizing Q-Learning Agents
- Building Q-Networks with TensorFlow
- Digging Deeper into Deep Q-Networks with Keras and TensorFlow
- Section 3: Advanced Q-Learning Challenges with Keras, TensorFlow, and OpenAI Gym
-
Decoupling Exploration and Exploitation in Multi-Armed Bandits
- Technical requirements
- Probability distributions and ongoing knowledge
- Revisiting a simple bandit problem
- Multi-armed bandit strategy overview
- Contextual bandits and state diagrams
- Thompson sampling and the Bayesian control rule
- Solving a multi-armed bandit problem in Python – user advertisement clicks
- Multi-armed bandits in experimental design
- Summary
- Questions
- Further reading
- Further Q-Learning Research and Future Projects
-
Assessments
- Chapter 1, Brushing Up on Reinforcement Learning Concepts
- Chapter 2, Getting Started with the Q-Learning Algorithm
- Chapter 3, Setting Up Your First Environment with OpenAI Gym
- Chapter 4, Teaching a Smartcab to Drive Using Q-Learning
- Chapter 5, Building Q-Networks with TensorFlow
- Chapter 6, Digging Deeper into Deep Q-Networks with Keras and TensorFlow
- Chapter 7, Decoupling Exploration and Exploitation in Multi-Armed Bandits
- Chapter 8, Further Q-Learning Research and Future Projects
- Other Books You May Enjoy
Product information
- Title: Hands-On Q-Learning with Python
- Author(s):
- Release date: April 2019
- Publisher(s): Packt Publishing
- ISBN: 9781789345803
You might also like
book
Python Deep Learning - Second Edition
Learn advanced state-of-the-art deep learning techniques and their applications using popular Python libraries Key Features Build …
book
Python Reinforcement Learning Projects
Deploy autonomous agents in business systems using powerful Python libraries and sophisticated reinforcement learning models Key …
book
Advanced Deep Learning with Python
Gain expertise in advanced deep learning domains such as neural networks, meta-learning, graph neural networks, and …
book
Applied Reinforcement Learning with Python: With OpenAI Gym, Tensorflow, and Keras
Delve into the world of reinforcement learning algorithms and apply them to different use-cases via Python. …