cave.analyzer.bohb_incumbents_per_budget module

class cave.analyzer.bohb_incumbents_per_budget.BohbIncumbentsPerBudget(runscontainer)[source]

Bases: cave.analyzer.base_analyzer.BaseAnalyzer

Show the incumbents for each budget (i.e. the best configuration by kernel-estimation using data from that budget).

runscontainer: RunsContainer contains all important information about the configurator runs

classmethod check_for_bokeh(d)
create_table(incumbents, budget_names, epm_rhs)[source]

Create table.

  • incumbents (List[Configuration]) – incumbents per budget, assuming ascending order

  • budget_names (List[str]) – budget-names as strings

  • epm_rhs (List[RunHistory]) – estimated runhistories for budgets, same length and order as incumbents

get_html(d=None, tooltip=None) → Tuple[str, str]

General reports in html-format, to be easily integrated in html-code. ALSO FOR BOKEH-OUTPUT.


d (Dictionary) – a dictionary that will be later turned into a website


script, div – header and body part of html-code

Return type

str, str


Depending on analysis, this creates jupyter-notebook compatible output.


This function needs to be called if bokeh-plots are to be displayed in notebook AND saved to webpage.