Git Product home page Git Product logo

rl_lib's Introduction

rl_lib

Motivation: I have always thought that the only way to truely test if you understand a concept is to see if you can build it. As such all these these algorithms are implemented studying the relevant papers and coded to test my understanding.

What I cannot create, I do not understand” - Richard Feynman

Algorithms

DQN

Policy Gradient

Tabular Solutions

These were mainly referenced from a really good lecture series by Colin Skow on youtube [link]. A large part was also found in the Deep Reinforcement Learning Udacity course.

  • Bellman Equation
  • Dynamic Programming
  • Q learning

Associated Articles

Results

DQN Pong

  • Converged to an average of 17.56 after 1300 Episodes.
  • Code and results can be found under DQN/7. Vanilla DQN Atari.ipynb

Drawing

DDPG Continuous

  • Converged to ~ -270 after a 100 episodes
  • Code and results can be found under Policy Gradient/4. DDPG.ipynb.ipynb

Drawing

PPO discrete

  • Solved in 409 episodes
  • Code and results can be found under Policy Gradient/5. PPO.ipynb

Drawing

PPO Atari - with Baseline Enhancements

  • Code and results can be found under PPO/

Drawing

Todo

  • Curiousity Driven Exploration
  • HER (Hindsight Experience Replay)
  • Recurrent networks in PPO and DDPG

Credits

Whilst I tried to code everything directly from the papers, it wasn't always easy to understand what I was doing wrong when the algorithm just wouldn't train or I got runtime errors. As such I used the following repositories as references.

rl_lib's People

Contributors

darylrodrigo avatar instance01 avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.