GithubHelp home page GithubHelp logo

kastnerkyle / python-rl Goto Github PK

View Code? Open in Web Editor NEW

This project forked from amarack/python-rl

0.0 1.0 0.0 31.55 MB

Some Reinforcement Learning in Python

License: GNU General Public License v3.0

Makefile 0.04% Python 46.90% CMake 0.26% HTML 4.20% C++ 2.95% C 38.37% Yacc 6.32% Lex 0.77% Shell 0.18%

python-rl's Introduction

python-rl

Some Reinforcement Learning in Python

Run with:

python -m pyrl.rlglue.run

Many other run options exist. A good starting point is with the command line help:

python -m pyrl.rlglue.run --help

The params/ directory contains examples of experiments that demonstrate many of the different agent algorithms. As an example, a randomized trial experiment using mountain car, and a randomly generated 'fixed policy' can be run with:

python -m pyrl.rlglue.run --load params/mountaincar/example_randtrial.json

The out put of this particular experiment is of the form: #evaluation points, list of evaluation index and evaluation value pairs, list of parameter values

For example: 1,0,-4999.0,0.0,0.219169344211,0.1,1.0,0.7,1,13709650200845

For this, there is oly 1 evaluation point (which is because this experiment only runs one episode). Then the evaluation index is zero, for the zero-th episode, followed by the return for that episode. Then we see a learning rate of 0.0 (because this is a fixed policy), followed by other parameters of Sarsa which in this case are not important. The final value of the line is the random seed used to generate the fixed policy.

Contributors

Will Dabney

Pierre-Luc Bacon

python-rl's People

Contributors

amarack avatar pierrelux avatar

Watchers

James Cloos 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.