Code for ICDL-Epirob 2015 paper
This is the code for ICDL-Epirob 2015's paper, 'Diversity-Driven Selection of Exploration Strategies in Multi-Armed Bandits' by Fabien C. Y. Benureau and Pierre-Yves Oudeyer.
The code for reproducing the figures presented in the paper is available in the
code/figures folder. This produces html files with interactive charts. Some precomputed charts are available in the results folder.
ddmab.py allow to quickly reproduce a run of the experiment.
ddmab_cluster.py may require a cluster to finish in a reasonable amount of time (if the qsub command is detected, jobs will automatically be submitted to the cluster). Before execution, one should adapt the
paths.py file accordingly. Then:
python ddmab_cluster -w --hd python ddmab_cluster -w --run
You should relaunch the
python ddmab_cluster -w --run command until no more job is waiting to be run.
After execution, the
ddmab_graph.py will respectively produce interactive charts.
For any problem executing the code, send me a mail at firstname.lastname@example.org.
pip install numpy scipy shapely bokeh explorers environments learners
forest needs to be installed manually.
git clone https://github.com/flowersteam/forest cd forest python setup.py install