{% if labels|length > 1 %}
{% with menuId='dropdownMenuLabel', menuText='Response', values=labels, menuDivVisible='explain-all' %}
{% include "dropdown.html" %}
{% endwith %}
{% else %}
{% endif %}
Global feature importance plot
{% for label in labels %}
{{ label['feature_importance_plot'] }}
{% endfor %}
Features contribution plots
{% for label in labels %}
{% with menuId='dropdownMenu2', menuText='Feature', values=label['features'],
menuDivVisible='explain-contrib-'~label['index'] %}
{% include "dropdown.html" %}
{% endwith %}
{% for col in label['features'] %}
{{ col['name'] }} - {{ col['type'] }}
{% if col['name'] != col['description'] %}
{{ col['description'] }}
{% else %}
{% endif %}
{{ col['plot'] }}
{% endfor %}
{% endfor %}
{% set has_interaction = false %}
{% for label in labels %}
{% if label['features_interaction']|length > 0 %}
{% set has_interaction = true %}
{% endif %}
{% endfor %}
{% if has_interaction %}
Features Top Interaction plots
{% for label in labels %}
{% if label['features_interaction']|length > 0 %}
{% with menuId='dropdownMenu3', menuText='Interactions', values=label['features_interaction'],
menuDivVisible='explain-contrib-interaction-'~label['index'] %}
{% include "dropdown.html" %}
{% endwith %}
{% for col in label['features_interaction'] %}