Skip to content
Hands-on Deep Reinforcement Learning, published by Packt
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Chapter02
Chapter03 Fix color scheme of images Jan 12, 2019
Chapter04 Rename dirs to follow Packt's convention May 10, 2018
Chapter05 Rename dirs to follow Packt's convention May 10, 2018
Chapter06 Remove not needed assignment Mar 7, 2019
Chapter07 Fix indexation in D4PG implementations Nov 11, 2018
Chapter08 Merge pull request #9 from Sycor4x/master Oct 21, 2018
Chapter09 Rename dirs to follow Packt's convention May 10, 2018
Chapter10 Rename dirs to follow Packt's convention May 10, 2018
Chapter11 Rename dirs to follow Packt's convention May 10, 2018
Chapter12 Rename dirs to follow Packt's convention May 10, 2018
Chapter13 Update readme.md May 11, 2018
Chapter14 Fix indexation in D4PG implementations Nov 11, 2018
Chapter15
Chapter16 Rename dirs to follow Packt's convention May 10, 2018
Chapter17 Fix issue #11, pytorch compatibility Nov 11, 2018
Chapter18 Rename dirs to follow Packt's convention May 10, 2018
formulas New formula Jun 2, 2018
.gitignore Added roboschool scripts May 8, 2018
README.md
download-roboschool.sh Added roboschool scripts May 8, 2018
install-roboschool.sh
requirements.txt Update README and requirements.txt Nov 11, 2018

README.md

Deep Reinforcement Learning Hands-On

Code samples for Deep Reinforcement Learning Hands-On book

Versions and compatibility

This repository is being maintained by book author Max Lapan. I'm trying to keep all the examples working under the latest versions of PyTorch and gym, which is not always simple, as software evolves. For example, OpenAI Universe, extensively being used in chapter 13, was discontinued by OpenAI. List of current requirements is present in requirements.txt file.

And, of course, bugs in examples are inevitable, so, exact code might differ from code present in the book text.

Too keep track of major code change, I'm using tags and branches, for example:

  • tag 01_release marks code state right after book publication in June 2018
  • branch master has the latest version of code updated for the latest stable PyTorch 0.4.1
  • branch torch_1.0 keeps the activity of porting examples to PyTorch 1.0 (not yet released)

Chapters' examples

Deep Reinforcement Learning Hands-On

This is the code repository for Deep Reinforcement Learning Hands-On, published by Packt. It contains all the supporting project files necessary to work through the book from start to finish.

About the Book

Recent developments in reinforcement learning (RL), combined with deep learning (DL), have seen unprecedented progress made towards training agents to solve complex problems in a human-like way. Google’s use of algorithms to play and defeat the well-known Atari arcade games has propelled the field to prominence, and researchers are generating new ideas at a rapid pace.

Deep Reinforcement Learning Hands-On is a comprehensive guide to the very latest DL tools and their limitations. You will evaluate methods including Cross-entropy and policy gradients, before applying them to real-world environments. Take on both the Atari set of virtual games and family favorites such as Connect4. The book provides an introduction to the basics of RL, giving you the know-how to code intelligent learning agents to take on a formidable array of practical tasks. Discover how to implement Q-learning on ‘grid world’ environments, teach your agent to buy and trade stocks, and find out how natural language models are driving the boom in chatbots.

You can’t perform that action at this time.