Code Monkey home page Code Monkey logo

rl-intro's Introduction

Reinforcement Learning

Repository dedicated to the implementation of several Reinforcement Learning methods in Python, exemplified by OpenAI environments. Some performance comparisons are included.

Most implementations are based on David Silver's UCL RL course and Sutton and Barto's book Reinforcement Learning: an Introduction.

Currently implemented:

  • agentTabular.py: Tabular action value methods.

    • SARSA
    • SARSA(λ)
    • Q-learning
    • Watkins Q-learning
  • agentIncrementalVFA.py: Incremental methods using value function approximation.

    • TD
    • TD(λ)
    • Gradient TD2
    • Gradient Q-learning
    • Recursive Least Squares TD
  • agentBatchVFA.py: Batch methods using value function approximation.

    • Least Squares TD
    • Least Squares TD(λ)
    • Least Squares TDQ
    • Least Squares Policy Iteration TD
  • agentActorCritic.py: Actor-critic methods.

    • Q Actor-Critic
    • Advantage Actor-Critic
    • TD Actor-Critic
    • TD(λ) Actor-Critic
  • agentModelBased.py: Model based methods.

    • DynaQ
    • Monte Carlo Tree Search
    • TD Tree Search
    • Dyna2

Several classes and functions required for the above files are contained in util.py.

The environment file gridworld.py might be required for some examples and comparisons.

Sources used:

  • David Silver (2015), COMPM050/COMPGI13 Lectures.
  • Sutton and Barto (2012), Reinforcement Learning: an Introduction.
  • Csaba Szepesvari (2009), Algorithms for Reinforcement Learning.
  • Daniel Takeshi (2016), Going Deeper Into Reinforcement Learning: Understanding Q-Learning and Linear Function Approximation.
  • David Silver, Richard Sutton and Martin Muller (2012).

rl-intro's People

Contributors

ricardodominguez avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 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.