Realtime experiment framework for self-adaptions in a big data environment Edit
2.1K
This appendix is supplementary material to the SEAMS 2018 submission "Adapting a System with Noisy Outputs with Statistical Guarantees" by Ilias Gerostathopoulos, Christian Prehofer and Tomas Bures.
We provide here a number of Python scripts, packaged as jupyter notebooks, used to analyze the application of the cost-aware self-optimization framework with statistical guarantees on CrowdNav self-adaptation exemplar.
The scripts work with data collected from CrowdNav and persisted in different pickle files.
To run the scripts, follow these steps:
jupyter notebook.
This will open a new tab in your default browser.
From here on you can choose to run any notebook from the ones described below.To run the code of a single notebook, follow these steps:
Shift + Enter to each of themTo run the scripts you need to have the following software installed in your system.
pip package manager installed in your system, just run the command:
python -m pip install --upgrade pip; python -m pip install jupyterIn this phase, we run factorial ANOVA in order to determine the input parameters with the largest effect on the output of the system.
To try it out, run the scripts in these notebooks:
analysis-anova-single.ipynb, for running factorial ANOVA on the data
from a single CrowdNav situationanalysis-anova-merged.ipynb, for running factorial ANOVA on the data
from all recorded CrowdNav situationsIn this phase, we run Bayesian optimization with Gaussian processes (BOGP) to find an optimal configuration. To see the results from the BOGP in our baseline scenario and our 2-stage approach, run the scripts in this notebook:
analysis-BOGP.ipynbIn this phase, we check with t-test whether the best configuration found by the previous phase is statistically singificantly better than the baseline (default) configuration for this CrowdNav situation. To see the results, run the scripts in this notebook:
analysis-t-test.ipynbTo run your own experiments, you need to set up kafka, elasticsearch, RTX and CrowdNav, as desccribed in the main RTX readme and in this getting started guide.
For questions, contact Ilias Gerostathopoulos at [email protected]
Content type
Image
Digest
Size
873.7 MB
Last updated
almost 9 years ago
docker pull starofall/rtx