summaryrefslogtreecommitdiff
path: root/README.md
blob: 5263ad7ce120bad417a3ba5384fbe4d9ae79a086 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# loosely-policies-analytics

## Folders

- `analysis/`
    - Contains data analysis + offline and in-situ training code.
    - More info in `analysis/README.md`.
- `simulation/`
    - Contains the simulator source code and script to run the experiments from the paper.
- `slides_recap/`
    - Just backup slides. Nothing interesting.

## Experiments

### In-situ

Simulations are carried using previous CCGrid2022 data.
These simulations are done in the file `analysis/in-situ.R`.
The idea is to use a single policy each day (round-robin) until the model performance reaches 80%.
For that, a day corresponds to a single simulation result from CCGrid2022 with a particular policy.
Since we have 200 runs per policy from CCGrid2022, a single run result can be cherry-pick to simulate one day.

### Offline

First, models are trained and predictions are generated.
This is done in `analysis/offline.R`.
Predictions are stored in `analysis/inputs/input_*.csv`.
Then, simulations are executed with those policy predictions as inputs.
This is done in `simulations/results/paper.sh`.