Hands-On Q-Learning with Python

Nazia Habib

  • 出版商: Packt Publishing
  • 出版日期: 2019-04-17
  • 售價: $1,180
  • 貴賓價: 9.5$1,121
  • 語言: 英文
  • 頁數: 212
  • 裝訂: Paperback
  • ISBN: 1789345804
  • ISBN-13: 9781789345803
  • 相關分類: Python

下單後立即進貨 (約1~2週)




Key Features

  • Understand how Q-learning algorithms are used to train neural networks to solve Markov decision processes (MDPs)
  • Study practical deep reinforcement learning using Q-networks
  • Explore state-based unsupervised learning for machine learning models

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 get 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 real-world applications such as scientific research. Toward the end, you'll gain a sense of 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 in 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


Nazia Habib is a data scientist who has worked in a variety of industries to generate predictive analytics solutions for diverse groups of stakeholders. She is an expert in building solutions to optimization problems under conditions of uncertainty. Her projects range from predicting user behavior and engagement with social media apps to designing adaptive testing software. Her ongoing specialization is in designing custom reinforcement learning algorithms for modeling control problems with limited inputs that converge to optimal solutions.


  1. Brushing Up on Reinforcement Learning Concepts
  2. Getting Started with the Q-Learning Algorithm
  3. Setting Up Your First Environment with OpenAI Gym
  4. Teaching a Smartcab to Drive Using Q-Learning
  5. Building Q-Networks with TensorFlow
  6. Digging Deeper into Deep Q-Networks with Keras and TensorFlow
  7. Decoupling Exploration and Exploitation in Multi-Armed Bandits
  8. Further Q-Learning Research and Future Projects
  9. Assessments