{% extends "examples/base.html" %} {% load static %} {% block title %} SmartDjango - Comments of my Site (A Page of Type {{ page_type }}) {% endblock title %} {% block main_title %} Comments of my Site {% endblock main_title %} {% block main_content %}
  • Latest Comments
  • {% for comment in latest_comments %}
  • {% if comment.is_spam %} bug_report {% else %} comment {% endif %} [User n° {{ comment.user_id }}] {{ comment.comment|truncatechars:50 }}
    {{ comment.comment }}
  • {% endfor %}
Post a Comment
{% csrf_token %} {{ form.as_p }}
{% endblock main_content %} {% block ai_info %}

You are using the spam filter {{ spam_filter.name }} with the {{ spam_filter.classifier }} classifier{% if spam_filter.pretraining %}, pre-trained with {{ spam_filter.pretraining }}{% endif %}.

{% endblock ai_info %} {% block ai_not_initialized_message %} There is no inferece performed on the Bayesian Network for the metrics and / or the Spam Filter for Comments
You can run it from the corresponding admin's objects' change form. {% endblock ai_not_initialized_message %}