{% extends 'base.html' %} {% load static %} {% block title %}Cluster Overview - Run #{{ run.display_id }}{% endblock %} {% block content %}

Cluster Overview — Run #{{ run.display_id }}

{{ run.total_flows }} flows, {{ run.cluster_count }} clusters

UMAP-2D Embedding

{% if geo_count > 0 %}

地理位置分布 {{ geo_count }} entities

{% if geo_skipped > 0 %}

{{ geo_skipped }} entities excluded (missing lat/lon)

{% endif %}
{% endif %}

Cluster Size Distribution

Silhouette Score Comparison

Top Distinguishing Features per Cluster

{% for c in clusters %}

Cluster #{{ c.cluster_label }} {{ c.size }} entities

Proportion: {{ c.proportion|floatformat:3 }}

Silhouette: {{ c.silhouette_score|floatformat:4|default:"-" }}

Top Distinguishing Features

{% for f in c.features.all|slice:":5" %} {% empty %} {% endfor %}
FeatureScoreMean
{{ f.feature_name }} {{ f.distinguishing_score|floatformat:3|default:"-" }} {{ f.mean|floatformat:3|default:"-" }}
No features
Detail
{% empty %}

No clusters found.

{% endfor %}
{% if noise %}

Noise (Cluster -1)

{{ noise.size }} entities classified as noise

{% endif %} {% endblock %}