cave.analyzer.budget_correlation module

class cave.analyzer.budget_correlation.BudgetCorrelation(runs)[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
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

plot(runs)[source]

Create table and plot that reacts to selection of cells by updating the plotted data to visualize correlation.

Parameters:runs (List[ConfiguratorRun]) – list with runs (budgets) to be compared