{% for data, y_str in ui_data.sent_data %}
Index | Word | {% for fidx in range(data[0][1].__len__()) %}Feature {{ fidx + 1 }} | {% endfor %}Attribution | {% set _, _, exp_vals = zip(*data) %} {% set minn = min_str("0", min_str(*exp_vals)) %} {% set maxx = max_str("0", max_str(*exp_vals)) %}{{ minn }} {{ maxx }} |
---|---|---|---|---|
{{ loop.index }} | {{ remove_tooltip(word)|safe }} | {% for f in features %}{{ f|safe }} | {% endfor %}{{ exp_val|safe }} |
Index | Word | {% for fidx in range(data[0][1].__len__()) %}Feature {{ fidx + 1 }} | {% endfor %}Attribution | {% set _, _, exp_vals = zip(*data) %} {% set minn = min_str("0", min_str(*exp_vals)) %} {% set maxx = max_str("0", max_str(*exp_vals)) %}{{ minn }} {{ maxx }} |
---|---|---|---|---|
{{ loop.index }} | {{ remove_tooltip(word)|safe }} | {% for f in features %}{{ f|safe }} | {% endfor %}{{ exp_val|safe }} |