{% if favicon %} {% endif %}
Model Compression and Knowledge Transfer Analysis
Distilled models tested
Highest performing model
Balance of precision/recall
Classification quality
Algorithm: {{ best_model.model_type | replace("ModelType.", "") | replace("_", " ") | title }}
Hyperparameters: Temperature = {{ "%.1f" | format(best_model.temperature) }}, Alpha = {{ "%.1f" | format(best_model.alpha) }}
Performance Metrics: Accuracy: {{ "%.3f" | format(best_model.metrics.test_accuracy) if best_model.metrics and best_model.metrics.test_accuracy else "N/A" }}, Precision: {{ "%.3f" | format(best_model.metrics.test_precision) if best_model.metrics and best_model.metrics.test_precision else "N/A" }}, Recall: {{ "%.3f" | format(best_model.metrics.test_recall) if best_model.metrics and best_model.metrics.test_recall else "N/A" }}
| Rank | Model | Temperature | Alpha | Accuracy | Precision | Recall | F1 Score |
|---|---|---|---|---|---|---|---|
| #{{ loop.index }} | {{ model.model_type }} | {{ model.temperature }} | {{ model.alpha }} | {{ "%.4f" | format(model.metrics.test_accuracy) if model.metrics and model.metrics.test_accuracy else "N/A" }} | {{ "%.4f" | format(model.metrics.test_precision) if model.metrics and model.metrics.test_precision else "N/A" }} | {{ "%.4f" | format(model.metrics.test_recall) if model.metrics and model.metrics.test_recall else "N/A" }} | {{ "%.4f" | format(model.metrics.test_f1_score) if model.metrics and model.metrics.test_f1_score else "N/A" }} |
Model: {{ rec.model }} ({{ rec.config }})
Reason: {{ rec.reason }}
Key Metrics: Accuracy: {{ "%.4f" | format(rec.metrics.accuracy) }}{% if rec.metrics.f1_score %}, F1: {{ "%.4f" | format(rec.metrics.f1_score) }}{% endif %}