{% extends "base.html" %} {% block title %}Patterns Summary{% endblock %} {% block jquery %}{% endblock %} {% block caseid %}{{caseid}}{% endblock %} {% block content %}
Note that metrics and statistics of the patterns shown were calculated on the training data.
# | Pattern (Click here to see the meaning) | Class | #Pos | #Neg | Cov | Score | Prec. | Recall | F1 | |
---|---|---|---|---|---|---|---|---|---|---|
{{r['index']+1}} | {{r['pattern']}} | {% if r['#pos'] >= r['#neg'] %}Pos | {% else %}Neg | {% endif %}{{r['#pos']}} | {{r['#neg']}} | {{"%.3f"|format(r['coverage'])}} | {{"%.3f"|format(r['score'])}} | {{"%.3f"|format(r['precision'])}} | {{"%.3f"|format(r['recall'])}} | {{"%.3f"|format(r['F1'])}} |