Coder Social home page Coder Social logo

hjorvardr / rl_library Goto Github PK

View Code? Open in Web Editor NEW
12.0 3.0 1.0 246 KB

An implementation of main reinforcement learning algorithms: solo-agent and ensembled versions.

License: MIT License

Python 100.00%
reinforcement-learning-algorithms reinforcement-learning ensemble-learning qlearning qlearning-algorithm sarsa dqn ddqn openai-gym frozenlake frozenlake-v0 taxi mountaincar-v0 mountaincar cartpole cartpole-v0

rl_library's Introduction

RL Library

Nowadays, artificial intelligence covers an important role in industry and scientific research. Next to clustering, deep learning and neural networks, reinforcement learning is becoming more and more popular. In the present work, the performance of reinforcement learning algorithms has been tested. Further more, two types of experiments have been performed:

  • A solo-agent version, in which algorithms are executed as usual in the given environment.
  • A cooperative version, in which two or more algorithms work together in order to take decisions.

Analysed algorithms

  • Q-Learning
  • SARSA
  • DQN/DDQN
  • AC (not fully tested)

Ensembling strategies

  • Major voting based
  • Rank voting based
  • Trust based

OpenAI Gym

OpenAI Gym is a toolkit for developing and comparing reinforcement learning algorithms written in Python. It provides a set of environments ranging from simple textual games to emulated Atari games and physics problems. Each environment is shipped with a set of possible actions/moves with a related reward. The user can use a standardised set of environments in order to feed the reinforcement learning algorithm. Moreover, an optional rendering is provided in order to offer a clear view of what is happening in background. There are different types of environments, characterised by different features such as:

  • Observation space domain: discrete or continuous.
  • Observation state type: memory representation or video frame.
  • Reward range: finite or infinite set of values.
  • Steps limitation.
  • Maximum number of trials.

Testing environments

  • Frozen-Lake4x4
  • Frozen-Lake8x8
  • Taxi
  • MountainCar
  • Breakout (not fully tested)
  • Pong (not fully tested)
  • CartPole

rl_library's People

Contributors

gibg1an avatar greenwinds avatar hjorvardr avatar

Stargazers

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

Watchers

 avatar  avatar  avatar

Forkers

senapathys

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.