{% extends 'base.html' %} {% block title %}运行 #{{ run.display_id }} - 天璇{% endblock %} {% block content %}

运行 #{{ run.display_id }}

{{ run.created_at|date:"Y-m-d H:i" }} — 状态: {{ run.get_status_display }}

聚类概览 →
{% if run.error_message %}
{{ run.error_message }}
{% endif %}
{{ run.total_flows|default:"0" }}
总流数
{{ run.entity_count|default:"0" }}
行数
{{ run.cluster_count|default:"0" }}
聚类数
{% if svd_features %}

🔬 全域 SVD 特征分析

基于 {{ run.total_flows }} 行数据

奇异值分解 (TruncatedSVD) 降维后的各主成分解释方差比例与贡献特征。

{% for svd in svd_features %}

PC{{ svd.component }}

解释方差: {{ svd.explained_var }}% 累积: {{ svd.cumulative_var }}%
{% for f in svd.top_features %} {{ f.feature }}: {{ f.strength }} {% endfor %}
{% endfor %}
{% endif %} {% if run.run_type == 'auto' and llm_timeline_json %}

🧠 LLM 自动分析流程

{% endif %}

📊 聚类结果

{% if clusters %} {% for c in clusters %} {% endfor %}
大小 比例 轮廓系数
#{{ c.cluster_label }} {{ c.size }} {{ c.proportion|floatformat:2 }} {{ c.silhouette_score|floatformat:4|default:"-" }} 详情
{% else %}

无聚类结果

{% endif %}
{% if run.run_type == 'auto' and llm_timeline_json %} {% endif %} {% endblock %}