Skip to content

Commit 65acd12

Browse files
committed
Update difference stats labels
1 parent 2da0bd6 commit 65acd12

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
- **📈 Normal模式**: 原始差值分析 (File2 - File1)
4343
- **📊 Absolute模式**: 绝对差值分析 |File2 - File1|
4444
- **📉 Relative模式**: 相对差值百分比分析
45-
- **📋 统计指标**: 详细的Mean Difference、Mean Absolute Error、Mean Relative Error
45+
- **📋 统计指标**: 详细的平均误差(normal)、平均误差(absolute)、相对误差(normal)、平均相对误差(absolute)
4646
- **⚖️ 基准线设置**: 可配置相对误差和绝对误差的基准线
4747

4848
### �️ **灵活的显示控制**
@@ -150,7 +150,7 @@ gradient_norm:\\s*([\\d.eE+-]+)
150150

151151
### 🔬 专业对比分析
152152
- **四种对比模式**: 平均误差(normal)、平均误差(absolute)、相对误差(normal)、平均相对误差(absolute)
153-
- **统计指标**: Mean Difference、Mean Absolute Error、Relative Error、Mean Relative Error
153+
- **统计指标**: 平均误差(normal)、平均误差(absolute)、相对误差(normal)、平均相对误差(absolute)
154154
- **基准线设置**: 可配置对比基准线,突出显示显著差异
155155
- **差值可视化**: 专门的差值图表,清晰展示训练差异
156156

src/components/ChartContainer.jsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -540,10 +540,10 @@ export default function ChartContainer({
540540
<div className="bg-white rounded-lg shadow-md p-3">
541541
<h4 className="text-sm font-medium text-gray-700 mb-1">{key} 差值统计</h4>
542542
<div className="space-y-1 text-xs">
543-
<p>Mean Difference: {stats.meanNormal.toFixed(6)}</p>
544-
<p>Mean Absolute Error: {stats.meanAbsolute.toFixed(6)}</p>
545-
<p>Relative Error: {stats.relativeError.toFixed(6)}</p>
546-
<p>Mean Relative Error: {stats.meanRelative.toFixed(6)}</p>
543+
<p>平均误差 (normal): {stats.meanNormal.toFixed(6)}</p>
544+
<p>平均误差 (absolute): {stats.meanAbsolute.toFixed(6)}</p>
545+
<p>相对误差 (normal): {stats.relativeError.toFixed(6)}</p>
546+
<p>平均相对误差 (absolute): {stats.meanRelative.toFixed(6)}</p>
547547
</div>
548548
</div>
549549
)}

0 commit comments

Comments
 (0)