cave.analyzer.feature_correlation module

class cave.analyzer.feature_correlation.FeatureCorrelation(runscontainer)[source]

Bases: cave.analyzer.base_analyzer.BaseAnalyzer

Correlation of features based on the Pearson product-moment correlation. Since instance features are used to train an empirical performance model in model-based configurators, it can be important to remove correlated features in a pre-processing step depending on the machine-learning algorithm. Darker fields corresponds to a larger correlation between the features.

runscontainer: RunsContainer contains all important information about the configurator runs

classmethod check_for_bokeh(d)
feat_analysis(output_dir, scenario, feat_names, feat_importance)[source]
get_html(d=None, tooltip=None) → Tuple[str, str]

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


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


script, div – header and body part of html-code

Return type

str, str


Depending on analysis, this creates jupyter-notebook compatible output.


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