{% extends 'NMR/index.html' %} {% block content %} {% load extras %} {% if accuracy >= 0 %}

Accuracy: {{ accuracy}}

Confusion matrix
PositiveNegative
True {{ tp }} {{ tn }}
False {{ fp }} {{ fn }}
{% endif %}
{% if middle_peak %}
{% csrf_token %} {% for peak in middle_peak %} {% if peak.id != Null %} {% endif %} {% with peak=peak.get_the_other%} {% if peak.id != Null %} {% endif %} {% endwith %} {% endfor %}
Confidence interval 30%-70% {{ count }}

{{ peak.pid }} Predicted as {{ peak.predict }} for {{ peak.probability }}%

{{ peak.id }}
{{ peak.id }}
{% for peak in low_peak %} {% if peak.id != Null %} {% endif %} {% with peak=peak.get_the_other %} {% if peak.id != Null %} {% endif %} {% endwith %} {% endfor %}
High confidence non-peaks

{{ peak.pid }} Predicted as {{ peak.predict }} for {{ peak.probability }}%

{{ peak.id }}
{{ peak.id }}
{% for peak in high_peak %} {% if peak.id != Null %} {% endif %} {% with peak=peak.get_the_other %} {% if peak.id != Null %} {% endif %} {% endwith %} {% endfor %}
High confidence peaks

{{ peak.pid }} Predicted as {{ peak.predict }} for {{ peak.probability }}%

{{ peak.id }}
{{ peak.id }}
{% else %}

No training record found.

{% endif %} {% endblock %}