Changeset 11665
- Timestamp:
- 12/05/14 15:54:36 (10 years ago)
- Location:
- branches/StatisticalTesting/HeuristicLab.Analysis.Statistics/3.3
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/StatisticalTesting/HeuristicLab.Analysis.Statistics/3.3/ChartAnalysisView.cs
r11379 r11665 308 308 LogFitting logFitting = new LogFitting(); 309 309 string[] columnNames = new string[] { "Count", "Minimum", "Maximum", "Average", "Median", "Standard Deviation", "Variance", "25th Percentile", "75th Percentile", 310 "Avg. of Upper 25 %", " Avg. of Lower 25 %", "Avg. of First 25 %", "Avg. of Last 25 %", "Linear Gradient", " Relative Error", "a (log fitted)", "b (log fitted)" };310 "Avg. of Upper 25 %", " Avg. of Lower 25 %", "Avg. of First 25 %", "Avg. of Last 25 %", "Linear Gradient", "Average Relative Error" }; 311 311 312 312 runs = Content.Where(x => x.Results.ContainsKey(resultName) && x.Visible).ToList(); … … 335 335 double firstAvg = values.Take((int)(values.Count() * 0.25)).Average(); 336 336 double lastAvg = values.Skip((int)(values.Count() * 0.75)).Average(); 337 double k, d, r , a, b;337 double k, d, r; 338 338 llsFitting.Calculate(values.ToArray(), out k, out d); 339 339 r = llsFitting.CalculateError(values.ToArray(), k, d); 340 logFitting.Calculate(values.ToArray(), out a, out b);341 340 342 341 dt[i, 0] = cnt; … … 355 354 dt[i, 13] = k; 356 355 dt[i, 14] = r; 357 dt[i, 15] = a;358 dt[i, 16] = b;359 356 360 357 i++;
Note: See TracChangeset
for help on using the changeset viewer.