Commit c2e192e6 authored by ZRIGUI Salah's avatar ZRIGUI Salah

Update README.md

parent f2d6051b
# Overview
This repository has two main directories:
- ``workflow`` which contains the experimental workflow used to generate the data.
- ``analysis`` which contains the research report and the notebook used of visualization
- ``workflow`` which contains the experimental workflow used to generate the data (learning and simulation).
- ``analysis`` which contains the analysis and the visulaization notebook used to generate the figure
## Installation
First, install [nix](https://nixos.org/nix/) package manager
......@@ -16,35 +16,24 @@ git clone https://gitlab.inria.fr/szrigui/mixed-policies.git
``Loading the nix environment``: The following command will install all the software and the dependencies needed the run the experiments
There two main experiment can be run by executing:
```{sh}
nix-shell -A zymakefile_bbo:
nix-shell -A :
```
The two [zymake](http://www-personal.umich.edu/~ebreck/code/zymake/) files contain the workflows to run the two main experiments.
Two script must be executed to obtain the results:
learn all the mixed policies and simulated the pure and the mixed policies and save the results:
```{sh}
zymake zymakefile_comparing_all
```{sh}
bash -e prepare_data.sh
```
simulate and get the space coverage experiments
```{sh}
zymake zymakefile_covering_space
to prepare the data for the simulation
```{sh}
python3 simulations.py
```
to run the space coverage experiments
The parameters can be found at the beginning of the tow files
Parameters:
to exexute teh simulations
- ``traces``: the traces that are used in the experimental campaign
- ``period (second)``: variable used in the separation of the trace. The trace will be divided into parts of size “period”
- ``back``: the backfilling policies (fixed to SPF)
- ``stat``: the metric the experiment will use. (In this work we use only the bounded slowdown)
- ``budget``: the maximum number of steps of xnes algorithm is allowed to run for.
- ``id_train``: the weeks that we want the user for the experiment: range (min max).
## Visualization
The data used to produce the main article and the research report is stored in a folder called data
The data used to produce the main article is stored in a folder called data
All the Figures in the main article and in the research report can be produced using these four notebooks:
- [SDSC-SP2](analysis/visualization_notebook_SDSC-SP2.pdf)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment