GithubHelp home page GithubHelp logo

robin-ml / rl-policy-gradient Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 1.0 539 KB

Policy gradient algorithms in reinforcement learning is an approach to solve reinforcement learning problems by finding an optimal policy. A policy tells us how to act from a particular state

Python 100.00%
reinforcement-learning policy-gradient

rl-policy-gradient's Introduction

license MIT

Policy Gradient Methods

We focuses on a particular family of reinforcement learning algorithms that use policy gradient methods. They are designed to be easily adaptable for reinforcement learning environments (like gym).

The goal of reinforcement learning is to find an optimal behavior strategy for the agent to obtain optimal rewards. The policy gradient methods target at modeling and optimizing the policy directly. The policy is usually modeled with a parameterized function (θ), i.e π θ (a|s). The value of the reward (objective) function depends on this policy and then various algorithms can be applied to optimize θ for the best reward.

Finding the θ that maximises the reward is an optimisation problem . Some approaches include:

  • Gradient-based:

    • Gradient descent
    • Conjugate gradient
    • Quasi-newton
  • Genetic algorithms

  • Hill climbing

  • Simplex / amoeba / Nelder Mead

Tensorflow versions

The master branch supports Tensorflow 2 versions of the baseline algorithm A2C/A3C

PG Algorithms

  • A2C/A3C
  • ACER
  • ACKTR
  • GAE
  • PPO
  • REINFORCE
  • TRPO
  • VMPO

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.