cave.analyzer.plot_ecdf module

class cave.analyzer.plot_ecdf.PlotECDF(default: ConfigSpace.configuration_space.Configuration, incumbent: ConfigSpace.configuration_space.Configuration, rh: smac.runhistory.runhistory.RunHistory, train: List[str], test: List[str], cutoff, output_dir: str)[source]

Bases: cave.analyzer.base_analyzer.BaseAnalyzer

Plot the cumulated distribution functions for given configurations, plots will share y-axis and if desired x-axis. Saves plot to file.

  • incumbent (default,) – configurations to be compared
  • rh (RunHistory) – runhistory to use for cost-estimations
  • test (train,) – lists with corresponding instances
  • cutoff (Union[None, int]) – cutoff for target algorithms, if set
  • output_dir (str) – directory to save plots in

output_fns – list with paths to generated plots

Return type:


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

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, if available