{{ rel_col(ds.id, t.category_id, t.category_name) }} {{ rel_col(ds.id, t.column_id, t.column_name) }}
- Classified
- {{ t.counted | count }} / {{ t.rows_examined | count }}{% if t.left_out %} ({{ t.left_out }}){% endif %}
- Purity & lift
- {% if t.purity_forward is not none %}{{ '%.1f' | format(t.purity_forward * 100) }}%{% else %}–{% endif %}{% if t.baseline is not none %} (baseline {{ '%.1f' | format(t.baseline * 100) }}%{% if t.lift is not none %}, lift {{ '%+.1f' | format(t.lift * 100) }} pp{% endif %}{% if t.purity_reverse is not none %}, reverse {{ '%.1f' | format(t.purity_reverse * 100) }}%{% endif %}){% endif %}
- Cramér's V, bias-corrected
- {% if t.corrected_cramers_v is not none %}{{ '%.2f' | format(t.corrected_cramers_v) }} ({{ 'Unstable: low counts' if t.strength_code == 'unstable' else t.strength_label }}){% else %}– (Not defined){% endif %}
- Exceptions
- {% if t.exceptions.count %}{{ t.exceptions.count | count }} (in {{ t.exceptions.cells | count }} cells){% else %}0 (exact fit){% endif %}
{{ t.association_note }}
{% endif %}{% if t.feature == 'pattern' and c.kind != 'other' %} {{ c.label }}{% else %}{{ c.label }}{% endif %} | {% endfor %}{{ table_head('Rows', align=true, filter=false) }}{{ table_head('Coverage', align=true, filter=false) }}{{ table_head('Purity', align=true, filter=false) }}||||
|---|---|---|---|---|
| {{ r.label }} | {% for cell in r.cells %}{% if cell.count %}{{ cell.count | count }}{{ '%.1f' | format(cell.share * 100) }}%{% else %}0{% endif %}{% if cell.dominant %} dominant class{% endif %} | {% endfor %}{{ r.classified | count }} | {% if r.coverage is not none %}{{ '%.1f' | format(r.coverage * 100) }}%{% else %}–{% endif %} | {% if r.purity is not none %}{{ '%.1f' | format(r.purity * 100) }}%{% else %}–{% endif %} |
| All | {% for n in t.column_totals %}{{ n | count }} | {% endfor %}{{ t.counted | count }} |
Exceptions({{ t.exceptions.count | count }} rows)
| {{ e.category_label }} | {% if t.feature == 'pattern' and e.class_label != 'other' %}{{ e.class_label }}{% else %}{{ e.class_label }}{% endif %} | {{ e.count | count }} | {% if e.examples %}{% for ex in e.examples %}{{ ex.value }}{% endfor %}Records {{ e.examples | map(attribute='record') | join(', ') }}{% else %}–{% endif %} |
|---|
Show all {{ t.exceptions.listed | length | count }} listed exception cells
| {{ e.category_label }} | {% if t.feature == 'pattern' and e.class_label != 'other' %}{{ e.class_label }}{% else %}{{ e.class_label }}{% endif %} | {{ e.count | count }} | {% if e.examples %}{% for ex in e.examples %}{{ ex.value }}{% endfor %}Records {{ e.examples | map(attribute='record') | join(', ') }}{% else %}–{% endif %} |
|---|
Showing the {{ t.exceptions.listed | length | count }} largest of {{ t.exceptions.cells | count }} exception cells; the JSON lists them in its analyses.
{% endif %}{% endif %}{% if t.rules %}{% set rule_cap = display_limits.relation_rules %}Candidate rules({{ t.rules | length }})
- {% for r in t.rules[:rule_cap] %}
- candidate When
{{ t.category_name }}is {{ r.category_label }},{{ t.column_name }}reads {% if t.feature == 'pattern' %}{{ r.class_label }}{% else %}{{ r.class_label }}{% endif %} in {{ (r.support - r.exceptions) | count }} of {{ r.support | count }} rows ({{ '%.1f' | format(r.confidence * 100) }}%).Learned from the data, not validated.{{ r.exceptions | count }} {% endfor %}
Show {{ t.rules | length - rule_cap }} more candidate rules
- {% for r in t.rules[rule_cap:] %}
- candidate When
{{ t.category_name }}is {{ r.category_label }},{{ t.column_name }}reads {% if t.feature == 'pattern' %}{{ r.class_label }}{% else %}{{ r.class_label }}{% endif %} in {{ (r.support - r.exceptions) | count }} of {{ r.support | count }} rows ({{ '%.1f' | format(r.confidence * 100) }}%).Learned from the data, not validated.{{ r.exceptions | count }} {% endfor %}
Checked rules({{ t.provided_rules | length }})
- {% for r, status_label in t.provided_rules %}
- {{ status_label }}
{{ t.category_name }}= {{ r.category_label }} → {{ r.class_label }}{% if r.support %} ({{ (r.support - r.exceptions) | count }} of {{ r.support | count }} rows{% if r.confidence is not none %}, {{ '%.1f' | format(r.confidence * 100) }}%{% endif %}){% endif %}.{{ r.exceptions | count }} {% endfor %}