Giter Club home page Giter Club logo

cmd's Introduction

Configurable Mirror Descent: Towards a Unification of Decision Making

This work presents a preliminary attempt to address a fundamental question for decision-making: Can we develop a single algorithm to tackle ALL categories of decision-making problems?

Python Env

As this code repository uses the package OpenSpiel, an environment with the Python version that is compatible with OpenSpiel is preferred, e.g., Python >= 3.7.

Games

All the game environments are built on top of OpenSpiel, which can be installed using the following command:

python3 -m pip install open_spiel

Scripts

To run the experiments, just execute the following command in the command line:

sh train.sh

The command for execution is in the script file train.sh. All other hyperparameters and their default values can be found in the file train.py. One can easily run different methods by changing the corresponding hyperparameter values.

game="kuhn_poker(players=3)" # specify the game
solver="cmd" # use MD-type or cfr-type algorithm
comb="gmd" # use KL/EU (closed-form solution) or GMD (numerical method)
alpha_sc="mtctl" # use meta-controller to adjust alpha or fix the alpha
alpha_optim="drs" # the meta-controller used to adjust alpha (other choices: dgld, rs, ...)
alpha_optim_obj="negap" # the evaluation metric of interest (other choices: sw, ccegap)
phi=3 # the choice of Bregman divergence/convex function
seed=1 # random seed

python train.py --game ${game} --solver ${solver} --comb ${comb} --alpha_sc ${alpha_sc} \
                --alpha_optim ${alpha_optim} --alpha_optim_obj ${alpha_optim_obj} \
                --phi ${phi} --seed ${seed}

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.