cave.analyzer.cave_parameter_importance module

class cave.analyzer.cave_parameter_importance.CaveParameterImportance(pimp: pimp.importance.importance.Importance, incumbent: ConfigSpace.configuration_space.Configuration, output_dir: str)[source]

Bases: cave.analyzer.base_analyzer.BaseAnalyzer

Calculate parameter-importance using the PIMP-package.

Parameters

pimp (Importance) – parameter importance object for fanova, ablation, etc

Returns

importance – importance object with evaluated data

Return type

pimp.Importance

get_html() → Tuple[str, str]

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()

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

parameter_importance(modus)[source]
modus: str

modus for parameter importance, from [forward-selection, ablation, fanova, lpi]