Giter VIP home page Giter VIP logo

trueonlinesarsa's Introduction

# Sarsa(lambda) and True Online Sarsa(lambda)

This repository is supposed to contain a snapshot of the code used to generate the results in the paper "Title". It contains an implementation of Sarsa(lambda) and an implementation of True Online Sarsa(lambda) on the Arcade Learning Environment (Bellemare et al., 2013).

Installation

To be self-contained I added the ALE as well. The steps to install the code are below:

  1. Go to lib/ale_0_4 and copy the file makefile.mac or makefile.unix to makefile and make it.
  2. Go to src/ and make it. It should compile without any problems.
  3. Go to research/true_online_sarsa/ and make it. It should compile without any problems.
  4. Everything should be installed and working. Notice that if you are using osX you may have to export export the library path: DYLD_LIBRARY_PATH="${DYLD_LIBRARY_PATH}:../lib/ale_0_4" (or export DYLD_LIBRARY_PATH="${DYLD_LIBRARY_PATH}:../../lib/ale_0_4"

Usage

In the correct directory (src for Sarsa or research/true_online_sarsa for True Online Sarsa), run the command ./learner. It should give you the parameters to use:

-s [REQUIRED] seed to random number generator.

-c [REQUIRED] path to file with configuration info.

-r [REQUIRED] path to the rom to be played by the agent.

The parameter -t is useless in this code. The file with configuration info is at conf/ (examples) while I do not have the rights to distribute the roms.

Contributing

This code is not supposed to be further extended (not in this repository). It is an snapshot of the code used to generate the results in the paper "Title".

Disclaimer

This code is a "research code", it was not implemented to be the most readable or reusable code. Only its relevant files are being published here. If you have any doubts, please let me know.

trueonlinesarsa's People

Contributors

mcmachado 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.