GithubHelp home page GithubHelp logo

megayeye / mcts-t Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tmoer/mcts-t

0.0 2.0 0.0 85 KB

Code for the paper 'Monte Carlo Tree Search for Asymmetric Trees'

License: MIT License

Python 97.39% Shell 2.61%

mcts-t's Introduction

MCTS-T(+)

Code for the paper Monte Carlo Tree Search for Asymmetric Trees by Thomas M. Moerland, Joost Broekens, Aske Plaat and Catholijn M. Jonker.

Prerequisites

  1. Install recent versions of:
  • Python 3
  • Tensorflow
  • Numpy
  • Matplotlib
  1. Clone this repository:
git clone https://github.com/tmoer/mcts-t.git

Syntax

You can run a new experiment from the agent.py function. Hyperparameters can be parsed through the --hp option. Default hyperparameters are listed in mcts-t+/hps.py. For example, to start a default experiment on CartPole-v0:

cd mcts-t+
python3 agent.py --hp game=CartPole-v0

Reproducing Paper Results

The results of the paper can be reproduced by:

cd mcts-t+
bash jobs/paper_jobs.sh

This automatically loop over the necessary hyperparameters. Running it will take quite long on a regular laptop though. You can submitted the runs to a SLURM cluster via

bash jobs/paper_jobs_slurm.sh

Visualization of Results

Subsequently, you can visualize the output with

cd mcts-t+
python3 visualize.py --home --plot_type mean --game your_game 

for some your_game of your choice.

Citation

@proceedings{moerland2018monte,
	author = "Moerland, Thomas M and Broekens, Joost and Plaat, Aske and Jonker, Catholijn M",
	journal = "arXiv preprint arXiv:1805.09218",
	title = "{Monte Carlo Tree Search for Asymmetric Trees}",
	year = "2018"
}

mcts-t's People

Contributors

tmoer avatar

Watchers

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