cave.analyzer.plot_scatter module

class cave.analyzer.plot_scatter.PlotScatter(default: ConfigSpace.configuration_space.Configuration, incumbent: ConfigSpace.configuration_space.Configuration, rh: smac.runhistory.runhistory.RunHistory, train: List[str], test: Optional[List[str]], run_obj: str, cutoff, output_dir: int)[source]

Bases: cave.analyzer.base_analyzer.BaseAnalyzer

Creates a scatterplot of the two configurations on the given set of instances. Saves plot to file.

Parameters
  • incumbent (default,) – configurations to be compared

  • rh (RunHistory) – runhistory to use for cost-estimations

  • output_dir (str) – output directory

Returns

output_fns – list with paths to generated plots

Return type

List[str]

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_plots()[source]
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