You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CAVE is a versatile analysis tool for automatic algorithm configurators. It generates comprehensive reports (e.g. http://ml.informatik.uni-freiburg.de/~biedenka/cave.html) that
7
7
give you insights into the configured algorithm, the used instance set and also the configuration tool itself.
8
-
The current version works out-of-the-box with [SMAC3](https://github.com/automl/SMAC3), but can be easily adapted to other configurators, as long as they use the same output-structure.
8
+
The current version works out-of-the-box with [BOHB](https://github.com/automl/HpBandSter) and [SMAC3](https://github.com/automl/SMAC3), but can be easily adapted to other configurators, either by adding a custom reader or by [using the CSV-Reader](https://automl.github.io/CAVE/stable/manualdoc/fileformats.html#csv) integrated in CAVE.
9
9
You can also find a [talk on CAVE](https://drive.google.com/file/d/1lNu6sZGB3lcr6fYI1tzLOJzILISO9WE1/view) online.
10
10
11
-
# LICENSE
12
-
Please refer to [LICENSE](https://github.com/automl/CAVE/blob/master/LICENSE)
13
-
14
-
If you use out tool, please cite us:
15
-
16
-
```bibtex
17
-
@InProceedings{biedenkapp-lion18a,
18
-
author = {A. Biedenkapp and J. Marben and M. Lindauer and F. Hutter},
19
-
title = {{CAVE}: Configuration Assessment, Visualization and Evaluation},
20
-
booktitle = {Proceedings of the International Conference on Learning and Intelligent Optimization (LION'18)},
21
-
year = {2018}}
22
-
23
-
@journal{
24
-
title = {BOAH: A Tool Suite for Multi-Fidelity Bayesian Optimization & Analysis of Hyperparameters},
25
-
author = {M. Lindauer and K. Eggensperger and M. Feurer and A. Biedenkapp and J. Marben and P. Müller and F. Hutter},
26
-
journal = {arXiv:1908.06756 {[cs.LG]}},
27
-
date = {2019},
28
-
}
29
-
```
30
-
11
+
If you use this tool, please [cite us](#license).
31
12
13
+
If you have feature requests or encounter bugs, feel free to contact us via the issue-tracker.
32
14
33
15
# OVERVIEW
34
16
CAVE is an analysis tool.
35
-
It is written in Python 3.5 and uses [SMAC3](https://github.com/automl/SMAC3), [pimp](https://github.com/automl/ParameterImportance) and [ConfigSpace](https://github.com/automl/ConfigSpace).
36
-
CAVE generates performance-values (e.g. PAR10), scatter- and cdf-plots to compare the default and the optimized incumbent and provides further inside into the optimization process by quantifying the parameter- and feature-importance.
17
+
It is written in Python 3.5 and uses [SMAC3](https://github.com/automl/SMAC3), [pimp](https://github.com/automl/ParameterImportance), and [ConfigSpace](https://github.com/automl/ConfigSpace).
18
+
CAVE generates performance-values (e.g. PAR10), scatter- and cdf-plots to compare the default and the optimized incumbent and provides further inside into the optimization process by quantifying the parameter- and feature-importance.
19
+
CAVE also generates configurator footprints to get a grip on the search behaviour of the configurator and many budget-based analyses.
20
+
CAVE integrates seamlessly with [jupyter-notebooks](https://automl.github.io/CAVE/stable/manualdoc/jupyternotebook.html).
37
21
38
22
# REQUIREMENTS
39
23
- Python 3.5
40
24
- SMAC3 and all its dependencies
41
25
- ParameterImportance and all its dependencies
26
+
- HpBandSter and all its dependencies
42
27
- everything specified in requirements.txt
43
-
Some of the plots in the report are generated using [bokeh](https://bokeh.pydata.org/en/latest/). To automagically export them as `.png`s, you need to also install [phantomjs-prebuilt](https://www.npmjs.com/package/phantomjs-prebuilt). CAVE will run without it, but you will need to manually export the plots if you wish to use them.
44
-
- phatomjs-prebuilt
28
+
29
+
Some of the plots in the report are generated using [bokeh](https://bokeh.pydata.org/en/latest/). To automagically export them as `.png`s, you need to also install [phantomjs-prebuilt](https://www.npmjs.com/package/phantomjs-prebuilt). CAVE will run without it, but you will need to manually export the plots if you wish to use them (which is easily done through a button in the report).
We are currently working on the [documentation](https://automl.github.io/CAVE/stable/) of CAVE. Here a little Quickstart-Guide.
48
+
Have a look into the [documentation](https://automl.github.io/CAVE/stable/) of CAVE. Here a little Quickstart-Guide.
63
49
64
-
You can analyze multiple folders (that are generated with the same scenario) for the analysis, simply provide the paths to all the individual results in `--folders`.
50
+
You can analyze results of an optimizer in one or multiple folders (that are generated with the same scenario, i.e. parallel runs).
51
+
Provide paths to all the individual parallel results using `--folders`.
65
52
66
-
Commandline arguments:
53
+
Some helpful commandline arguments:
67
54
-`--folders`: path(s) to folder(s) containing the configurator-output (works with `output/run_*`)
68
55
56
+
**NOTE:***the keyword `--folders` is optional, CAVE interprets positional arguments in the commandline as folders of parallel runs*
57
+
69
58
Optional:
70
59
-`--output`: where to save the CAVE-output
71
-
-`--file_format`: of results to be analyzed, choose from [SMAC3](https://github.com/automl/SMAC3), [SMAC2](https://www.cs.ubc.ca/labs/beta/Projects/SMAC), [CSV](https://automl.github.io/CAVE/stable/quickstart.html#csv) or [BOHB](https://github.com/automl/HpBandSter)
60
+
-`--file_format`: if the automatic file-detection fails for some reason, choose from [SMAC3](https://github.com/automl/SMAC3), [SMAC2](https://www.cs.ubc.ca/labs/beta/Projects/SMAC), [CSV](https://automl.github.io/CAVE/stable/quickstart.html#csv) or [BOHB](https://github.com/automl/HpBandSter)
72
61
-`--validation_format`: of (optional) validation data (to enhance epm-quality where appropriate), choose from [SMAC3](https://github.com/automl/SMAC3), [SMAC2](https://www.cs.ubc.ca/labs/beta/Projects/SMAC), [CSV](https://automl.github.io/CAVE/stable/quickstart.html#csv) or NONE
73
62
-`--ta_exec_dir`: target algorithm execution directories, this should be one or multiple path(s) to
74
63
the directories from which the configurator was run initially. not necessary for all configurators (BOHB doesn't need it). used to find instance-files and
@@ -79,7 +68,7 @@ Optional:
79
68
-`--feature_analysis`: analysis features is expensive, so you can specify which
80
69
algorithm to run: `box_violin`, `clustering`, `importance` and/or `feature_cdf`.
81
70
either provide a combination of those or use `all` or `none`
82
-
-`--no_tabular_analysis`: toggles the tabular analysis
71
+
-`--no_performance_table`: toggles the tabular analysis
83
72
-`--no_ecdf`, `--no_scatter_plots`: toggle ecdf- and scatter-plots
84
73
-`--no_cost_over_time`: toggles the cost-over-time plot
85
74
-`--no_parallel_coordinates`: toggles the parallel-coordinates plot
@@ -90,32 +79,50 @@ Optional:
90
79
-`--cot_inc_traj`: how the incumbent trajectory for the cost-over-time plot will be generated if the optimizer is BOHB (from [`racing`, `minimum`, `prefer_higher_budget`])
There is an [example jupyter-notebook](https://github.com/automl/HpBandSter/blob/add_docu/hpbandster/examples/Workflow.ipynb) on how to use CAVE with BOHB.
107
+
# LICENSE
108
+
Please refer to [LICENSE](https://github.com/automl/CAVE/blob/master/LICENSE)
109
+
110
+
If you use out tool, please cite us:
111
+
112
+
```bibtex
113
+
@InProceedings{biedenkapp-lion18a,
114
+
author = {A. Biedenkapp and J. Marben and M. Lindauer and F. Hutter},
115
+
title = {{CAVE}: Configuration Assessment, Visualization and Evaluation},
116
+
booktitle = {Proceedings of the International Conference on Learning and Intelligent Optimization (LION'18)},
117
+
year = {2018}}
118
+
119
+
@journal{
120
+
title = {BOAH: A Tool Suite for Multi-Fidelity Bayesian Optimization & Analysis of Hyperparameters},
121
+
author = {M. Lindauer and K. Eggensperger and M. Feurer and A. Biedenkapp and J. Marben and P. Müller and F. Hutter},
0 commit comments