Coder Social home page Coder Social logo

fschur / evolutionary-reinforcement-learning-for-openai-gym Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 2.0 21 KB

Implementation of Augmented-Random-Search for OpenAI Gym environments

License: MIT License

Python 100.00%
reinforcement-learning evolutionary-algorithms evolution-strategies openai-gym ars deep-learning augmented-random-search pytorch cartpole

evolutionary-reinforcement-learning-for-openai-gym's Introduction

Evolutionary Reinforcement Learning for OpenAI Gym

Implementation of Augmented-Random-Search for OpenAI Gym environments in Python. Performance is defined as the sample efficiency of the algorithm i.e how good is the average reward after using x episodes of interaction in the environment for traning. The paper can be found here: Simple random search provides a competitive approach to reinforcement learning

Augmented-Random-Search (ARS)

ARS is an Evolutionary Strategy where the policy is linear with weights wp

Given an observation st an action at is chosen by:

Continuous case:
at = wp * st

Discrete case:
at = softmax(wp * st)

The weights are mutated by adding i.i.d. normal distributed noise to every weight.

wnew = wp + α * N(0, 1)

Then the policy weights wp are updated in the direction of the best performing mutated weights.

evolutionary-reinforcement-learning-for-openai-gym's People

Contributors

fschur avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

ttyo ahristeezy

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.