GithubHelp home page GithubHelp logo

limaries30 / preferential-temporal-difference-learning Goto Github PK

View Code? Open in Web Editor NEW

This project forked from nishanthvanand/preferential-temporal-difference-learning

0.0 1.0 0.0 34.33 MB

Code to reproduce results of the paper - Preferential Temporal Difference Learning.

Python 95.26% Shell 4.74%

preferential-temporal-difference-learning's Introduction

Preferential Temporal Difference Learning

Tabular

To run the tabular experiments (Figure 2) run the following command:

cd Tabular
./run_tabular.sh

Linear

Run the following commands to reproduce Figure 3 and A.2.

cd LinearFA
./run_task1.sh
./run_task2.sh

The next two settings requires pytorch to reproduce the figures.

Semi-Linear

First run the feature net by executing the following command:

cd Semi_LinearFA
./run_MC.sh

Running the following commands will reproduce results presented in Figure 4 and A.8 by loading the trained feature net models.

./run_task1.sh
./run_task2.sh

Non-Linear

Running the following commands will generate Figures 5 and 6 from the paper. The first two commands correspond to the forward-view results and the next two commands correspond to the backward-view results.

Comment data generation part inside each script file if your Data folder is not empty

cd NonLinearFA
./run_task1.sh
./run_task2.sh
./run_task1_traces.sh
./run_task2_traces.sh

All figures are saved in plots directory of the respective settings. For example, the tabular figures are saved in Tabular/plots/ directory.

Results are saved in results_ directories after and you can delete them after generating the plot.

preferential-temporal-difference-learning's People

Contributors

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