{% if include_styles %} {% include "styles.html" %} {% endif %} {% for key in show %} {% if key == "method" and expl.method %}
Explained as: {{ expl.method }}
{% endif %} {% if key == "description" and expl.description %} {# TODO - have a structured prepresentation and convert it to html and text #}{{ expl.description }}
{% endif %}
{% if key == "transition_features" and expl.transition_features %}
{% include "transition_features.html" with context %}
{% endif %}
{% if key == "targets" and expl.targets %}
{% include "weights.html" with context %}
{% endif %}
{% if key == "feature_importances" and expl.feature_importances %}
| Weight | Feature |
|---|---|
| {{ "%0.4f"|format(fw.weight) }} {% if not fw.std is none %} ± {{ "%0.4f"|format(2 * fw.std) }} {% endif %} | {{ fw.feature|format_feature(fw.weight, hl_spaces) }} |
| … {{ expl.feature_importances.remaining }} more … | |
{{ expl.decision_tree|format_decision_tree }}
{% endif %}
{% endfor %}
{% if expl.error %}