Feature distributions and inter-feature correlations


In [ ]:
markdown_str = '''### Distributions of the standardized (if applicable), truncated feature values for the old model ({})'''.format(experiment_id_old)

In [ ]:
if 'feature_distplots' in figures_old: 
    display(Markdown(markdown_str))
    if use_thumbnails:
        show_thumbnail(figures_old['feature_distplots'], next(id_generator))
    else:
        display(SVG(filename=figures_old['feature_distplots']))
else:
    display(Markdown(no_plot_old_str))

In [ ]:
markdown_str = '''### Distributions of the standardized (if applicable), truncated feature values for the new model ({})'''.format(experiment_id_new)

In [ ]:
if 'feature_distplots' in figures_new: 
    display(Markdown(markdown_str))
    if use_thumbnails:
        show_thumbnail(figures_new['feature_distplots'], next(id_generator))
    else:
        display(SVG(filename=figures_new['feature_distplots']))
else:
    display(Markdown(no_plot_new_str))

In [ ]:
markdown_str = '''### Differences in inter-feature correlations between the old model ({}) and the new model ({})'''.format(experiment_id_old, experiment_id_new)

In [ ]:
if not out_dfs['feature_cors'].empty:
    display(Markdown(markdown_str))
    display(HTML(out_dfs['feature_cors'].to_html(index=True, classes=['alternate_colors3_groups'], float_format=float_format_func)))

Human-feature correlations

Overall human-feature marginal correlations


In [ ]:
if not out_dfs['mcor_sc1_overview'].empty:
    display(HTML(out_dfs['mcor_sc1_overview'].to_html(index=True, classes=['alternate_colors3_groups'], float_format=float_format_func)))
else:
    display(Markdown(no_info_str))

Overall human-feature partial correlations


In [ ]:
if not out_dfs['pcor_sc1_overview'].empty:
    display(HTML(out_dfs['pcor_sc1_overview'].to_html(index=True, classes=['alternate_colors3_groups'], float_format=float_format_func)))
else:
    display(Markdown(no_info_str))