summaryrefslogtreecommitdiff
path: root/analysis/README.md
blob: 27128dcceb3608b303bd1015cfa8c3de8df2cd72 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Analysis

## Files
- analysis.R: Do some analysis and generate Table IV by comparing coverage and energy from simulation results to random targets
- kmeans.R: Just here for doing some tests
- offline.R: contains two major functions:
  - build_models: To generate K-fold cross-validation results (note that hyper-parameters for decisions tree is fixed (no validation set))
    - Generate Table II and III
  - generate_inputs: generate the inputs for the simulations experiments + the decision tree plots
  - Generate Fig 5 (decision tree nodes)
- in-situ.R: Implement the in-situ learning approach (Figure 4a 4b and 4c)
    - For figure 4a and 4b we train the model with increasing amount of data from previous results as if we were using one policy per day (see section IV.A)
    - For figure 4c, delta is generated by comparing using each policies in round-robin (one per days to perform the training)
        to each previous paper results with single policy only (see paper section IV.A)
## Folders
- inputs/: Random targets and predicted policy to use for offline experiments
- figures/: All analysis output
## Notes
Todo: remove minbucket=1 (does not impact the results)