Browse Source

调整建模统计数据集90%

datasub12_fetal_heart_rate_0
H Vs 3 months ago
parent
commit
b27d2f55c7
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      HealthMonitor.Service/Biz/db/TDengineService.cs

+ 1
- 1
HealthMonitor.Service/Biz/db/TDengineService.cs View File

@@ -906,7 +906,7 @@ namespace HealthMonitor.Service.Biz.db
#endregion #endregion


// 计算需要的数量 // 计算需要的数量
int requiredCount = (int)(res.Count * 0.8);
int requiredCount = (int)(res.Count * 0.9);


// 从原始数据集中获取最接近众数的元素 // 从原始数据集中获取最接近众数的元素
var closestToModeData = res.OrderBy(n => Math.Abs(n - mode)) var closestToModeData = res.OrderBy(n => Math.Abs(n - mode))


Loading…
Cancel
Save