{% extends 'base.html' %} {% block title %}Manajemen Model {% endblock %} {% block content %}
{% for m in models %}
{{ m.nama_model }} {% if m.is_default %} DEFAULT {% endif %}
{{ m.tipe }}
Accuracy
{{ '%.2f'|format(m.accuracy) }}%
F1-Score
{{ '%.2f'|format(m.f1_score) }}%
Precision
{{ '%.2f'|format(m.precision) }}%
Recall
{{ '%.2f'|format(m.recall) }}%
{% if m.path_folder %}
{{ m.path_folder }}
{% endif %}
{% if m.is_default %} Sedang digunakan sebagai default {% else %}
{% endif %}
{% else %}

Belum ada data model. Tambahkan informasi model dari hasil training Colab.

{% endfor %}
{% if models|length >= 2 %}
Tabel Perbandingan Model
{% for m in models %} {% endfor %}
ModelAccuracyPrecisionRecallF1-ScoreUnggul
{{ m.nama_model }} {{ '%.2f'|format(m.accuracy) }}% {{ '%.2f'|format(m.precision) }}% {{ '%.2f'|format(m.recall) }}% {{ '%.2f'|format(m.f1_score) }}% {% if m.accuracy == models|map(attribute='accuracy')|max %} Terbaik {% endif %}
{% endif %} {% endblock %}