© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2024
N. SanghiDeep Reinforcement Learning with Pythonhttps://doi.org/10.1007/979-8-8688-0273-7_6

6. Deep Q-Learning (DQN)

Nimish Sanghi1  
(1)
Bangalore, India
 

This chapter takes a deep dive into Q-learning combined with function approximation using neural networks. Q-learning in the context of deep learning using neural networks is also known as Deep Q Networks (DQN). The chapter first summarizes what I have talked about so far with respect to Q-learning. You will then look at code implementations of DQN on simple problems. Following this, you will take stock of Gymnasium and learn how it differs from OpenAI Gym. The next focus is on the Stable Baselines 3 (SB3) ...

Get Deep Reinforcement Learning with Python: RLHF for Chatbots and Large Language Models 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.