I have been reading : Reinforcement Learning: An Introduction by Sutton and Barto. I admit it's a good read for learning RL whereas it's more theoretical with detailed algorithms.

Now, I want something more programming oriented resource(s) maybe a course, book, etc. I have been exploring Kaggle, Open-source RL projects.

I need this to learn and grasp a deeper understanding of RL from the perspective of a developer i.e optimized way of writing code, explanation about using the latest RL libraries, cloud services, etc.

Thank you in advance.

  • 1
    $\begingroup$ Please, have a look at this, this and this question. If any of those answers answer your question, let me know. $\endgroup$ – nbro Sep 5 at 16:58
  • 2
    $\begingroup$ Thank you @nbro, I got what I needed. I see you are leading the AI SE community impressively. Keep up the good work. $\endgroup$ – Arpit-Gole Sep 6 at 2:40
  • $\begingroup$ If you found what you were looking for and it's in the answers below, please, click on the "check" mark to accept the answer. If it's somewhere else (e.g. in the answer to another question), please, let us know. $\endgroup$ – nbro Sep 7 at 13:46

Arthur Juliani has some interesting Medium articles on reinforcement learning with TensorFlow backed up with code on GitHub.

  1. Part 0 — Q-Learning Agents
  2. Part 1 — Two-Armed Bandit
  3. Part 1.5 — Contextual Bandits
  4. Part 2 — Policy-Based Agents
  5. Part 3 — Model-Based RL
  6. Part 4 — Deep Q-Networks and Beyond
  7. Part 5 — Visualizing an Agent’s Thoughts and Actions
  8. Part 6 — Partial Observability and Deep Recurrent Q-Networks
  9. Part 7 — Action-Selection Strategies for Exploration
  10. Part 8 — Asynchronous Actor-Critic Agents (A3C)

As nbro pointed out Denny Britz has a good repository: https://github.com/dennybritz/reinforcement-learning

As you have seen with Sutton & Barto's book the code is mostly in Lisp. Shangtong Zhang has replicated the code in Python: https://github.com/ShangtongZhang/reinforcement-learning-an-introduction

Sudharsan and Ravichandiran wrote a book "Hands-On Reinforcement Leraning with Python" which uses OpenAI Gym and TensorFlow. You can find more information on the book along with their code repository at Hands-On Reinforcement Learning with Python

| improve this answer | |

I suggest you to have a look at this repo. It contains state-of-the art algorithms, papers, frameworks, courses and some implementations. You can also check "Deep Reinforcement Learning Hands On" book examples written by Max Lapan here. This repo contains many programming and reinforcement learning examples with PyTorch framework.

| improve this answer | |
  • 1
    $\begingroup$ Explain why we should look at this repo. We expect our users to provide more info in their answers than just a link to another site. $\endgroup$ – nbro Sep 7 at 10:59
  • $\begingroup$ Edited. Thanks for caution. $\endgroup$ – dasmehdix Sep 7 at 11:25
  • $\begingroup$ Thanks for addressing my concern, but how does this directly answers the question? The OP was looking for resources with programming exercises, if I understood correctly. Maybe you can provide a more specific answer. $\endgroup$ – nbro Sep 7 at 11:26
  • $\begingroup$ Double edited :) $\endgroup$ – dasmehdix Sep 8 at 8:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.