epignatelli / reinforcement-learning-an-introduction

A python implementation of the concepts in the book "Reinforcement Learning: An Introduction" by R.S. Sutton and A. G. Barto.
http://incompleteideas.net/book/the-book-2nd.html
MIT License
18 stars 8 forks source link
dynamic-programming papers-with-code reinforcement-learning reinforcement-learning-algorithms reinforcement-learning-excercises reinforcement-learning-tutorials sutton-barto-book

Project Status: WIP – Initial development is in progress, but there has not yet been a stable, usable release suitable for the public. License: MIT

Reinforcement Learning: An Introduction

R. S. Sutton and A. G. Barto

This repository contains a python implementation of the concepts described in the book Reinforcement Learning: An Introduction, by Sutton and Barto. For each chapter you will find a .py file that contains the main implementation, and a .ipynb used to quickly visualise figures on github.com.

The repository is still WIP. I will try to move linearly ahead with the book, you can check below for a roadmap of the immadiate actions.

Please, feel free to raise issues to ask questions or flag flaws and mistakes in the implementation.
Should you find this useful for you, I would be grateful if you'd star:star: it :)

Available problems

Chapter 1: Introduction

Chapter 2: Multi-armed Bandits

Chapter 3: Finite Markov Decision Processes

Chapter 4: Dynamic Programming (figures)

Chapter 5: Monte Carlo Methods (figures)

References

[1] R. S. Sutton, A. G. Barto, et al. Reinforcement Learning: an Introduction. MIT press, Cambridge, 2018.
[2] Original Code, 2nd Edition. http://incompleteideas.net/book/code/code2nd.html