cave.analyzer.cave_ablation module

class cave.analyzer.cave_ablation.CaveAblation(runscontainer, marginal_threshold=0.05)[source]

Bases: cave.analyzer.cave_parameter_importance.CaveParameterImportance

Ablation Analysis is a method to determine parameter importance by comparing two parameter configurations, typically the default and the optimized configuration. It uses a greedy forward search to determine the order of flipping the parameter settings from default configuration to incumbent such that in each step the cost is maximally decreased.

Calculate parameter-importance using the PIMP-package.

classmethod check_for_bokeh(d)
get_html(d=None, tooltip=None)

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

Parameters

d (Dictionary) – a dictionary that will be later turned into a website

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_name()[source]
parameter_importance(modus)
modus: str

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

plot_bokeh()

This function needs to be called if bokeh-plots are to be displayed in notebook AND saved to webpage.

plot_whiskers()
postprocess(pimp, output_dir)[source]