{% extends "base.html" %} {% block content %}
{% for exp_set, agreement_dict in combinations.items() %} {% for exp in exp_set %} {% if exp.display_title in text_explanation_experiments %} {% for genre, articles_ids in agreement_dict.items() %} {% if articles_ids|length > 0 %} {% for article_id in articles_ids|sort %} {% for tab_data in grouped_tabular_data[article_id] %} {% endfor %} {% endfor %} {% endif %} {% endfor %} {% else %} {% for genre, articles_ids in agreement_dict.items() %} {% if articles_ids|length > 0%} {% for article_id in articles_ids|sort %} {% for tab_data in grouped_tabular_data[article_id] %} {% endfor %} {% endfor %} {% endif %} {% endfor %} {% endif %} {% endfor %} {% endfor %}
Article # Pipeline Predicted Genre Text Explanation Feature Explanation
{{ tab_data['article_number'] }} {{ exp.display_title }}
{{ genre }} Click here for textual explanation N/A
{{ tab_data['article_number'] }} {{ exp.display_title }}
{{ genre }} N/A Click here for feature explanation
Article # Pipeline Predicted Genre Text Explanation Feature Explanation


{% for exp_set, agreement_dict in combinations.items() %} {% for genre, articles_ids in agreement_dict.items() %} {% if articles_ids|length > 0%} {% endif %} {% endfor %} {% endfor %}
Mutually Agreeing Pipelines Predicted Genre Number of Articles Articles
{% for exp in exp_set %} {{ exp.display_title }}
{% endfor %}
{{ genre }} {{ articles_ids|length }} {% set count = [] %} {% for article_id in articles_ids|sort %} {% for tab_data in grouped_tabular_data[article_id] %} {% if tab_data[true_genre] == "N/A" %} [Article {{ tab_data['article_number'] }}] {% else %} {% if genre == tab_data['true_genre'] %} [Article {{ tab_data['article_number'] }}] {% elif tab_data['true_genre'] == 'Unlabelled' %} [Article {{ tab_data['article_number'] }}] {% else %} [Article {{ tab_data['article_number'] }}] {% endif %} {% endif %} {% if count.append(1) %}{% endif %} {% if count|length % 9 == 0 and articles_ids|length < 500 %}
{% elif count|length % 9 == 0 and articles_ids|length > 499 and articles_ids|length < 1000 %}
{% elif count|length % 8 == 0 and articles_ids|length > 999 %}
{% endif %} {% endfor %} {% endfor %}
Mutually Agreeing Pipelines Predicted Genre Number of Articles Articles


{% for tab_data in tabular_data_dict %} {% endfor %}
Article # Article text Mutually Agreeing
Pipelines
Prevailing Genre
(prediction)
True Genre
{{ tab_data['article_number'] }} {{ tab_data['article_text'] }} {% for experiment in tab_data['mutual_agreement_exp'] %} {{ experiment.display_title }}
{% endfor %}
{{ tab_data['agreed_genre_prediction'] }} {{ tab_data['true_genre'] }}
Article # Article text Mutually Agreeing
Pipelines
Prevailing Genre
(prediction)
True Genre
{% endblock %}