Giter VIP home page Giter VIP logo

mamarb-lagrange-policies's Introduction

MAMARB-Lagrange-Policies

Code for paper: Beyond "To Act or Not to Act": Fast Lagrangian Approaches to General Multi-Action Restless Bandits in AAMAS'21

first run bash make_dirs.sh to setup directory structure

Example Usage: python3 adherence_simulation.py -N 5 -n 200 -b 0.1 -s 0 -ws 0 -l 25 -d healthcare -S 4

  • N: Number of trials to average over
  • n: Number of processes
  • b: Budget as a fraction of n
  • s, ws: Seeds for random generator streams
  • l: Length of simulation
  • d: simulation environment
  • S: number of states for the arms in the simulation (see specific simulation environments)

Note, the above example command should take about 10 minutes to run.

Note: The above example command will run the simulation for all policies. To change the policies that are run, edit the policies dict on line 1173 of adherence_simulation.py or pass the -pc option to run one policy at a time:

For a specific policy python3 adherence_simulation.py -N 5 -n 200 -b 0.1 -s 0 -ws 0 -l 25 -d healthcare -S 4 -pc 37

  • -pc 0: No actions
  • -pc 21: Hawkins
  • -pc 24: VfNc
  • -pc 27: SampleLam
  • -pc 37: BLam0.1
  • -pc 38: BLam0.2
  • -pc 39: BLam0.3
  • -pc 40: BLam0.5

mamarb-lagrange-policies's People

Contributors

killian-34 avatar

Stargazers

 avatar  avatar Christine Herlihy avatar  avatar

Watchers

 avatar

Forkers

mshoush

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.