cave.analyzer.bohb_incumbents_per_budget module

class cave.analyzer.bohb_incumbents_per_budget.BohbIncumbentsPerBudget(incumbents, budget_names, epm_rhs)[source]

Bases: cave.analyzer.base_analyzer.BaseAnalyzer

Parameters
  • 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

create_table(incumbents, budget_names, epm_rhs)[source]

Create table.

Parameters
  • 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)[source]

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

Returns

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

Return type

str, str

get_jupyter()[source]

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

get_static_plots() → List[str]

Returns plot-paths, if any are available

Returns

plot_paths – returns list of strings

Return type

List[str]

get_table()

Get table, if available