Giter Site home page Giter Site logo

brianwade1 / reinforcementlearning_actorcritic_practice Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 1.11 MB

Actor-Critic model trained using value advantages on the OpenAI Gym CartPole-V0 environment.

Python 100.00%
reinforcement-learning gym machine-learning actor-critic

reinforcementlearning_actorcritic_practice's Introduction

Advantage Actor Critic Model (A2C)

Actor-Critic model trained using value advantages. Environment is from the OpenAI Gym CartPole-V0 environment.

Cartpole

These scripts impliment an advantage actor critic (A2C) on the OpenAI cart pole environment. Sample training results are shown below. The environment can be changed to other OpenAI environments that have a discrete output space.

Sample Output

Python Libraries

This script was built using the following python libraries and versions:

  • python v3.7.6
  • numpy v1.16.5
  • matplotlib v3.1.1
  • keras 2.3.1
  • gym 0.15.3

References

  1. Sutton, Richard S. and Barto, Andrew G. Reinforcement Learning: An Introduction, 2nd ed. The MIT Press; Cambridge, Massachusetts. 2018
  2. Rokas Balsys; Reinforcement Learning tutorial; https://pylessons.com/A2C-reinforcement-learning/
  3. Actor Critic with OpenAI Gym; Quadcopter Dynamics and Simulation; http://www.rage.net/~greg/2016-07-05-ActorCritic-with-OpenAI-Gym.html

reinforcementlearning_actorcritic_practice's People

Stargazers

 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.