Free cookie consent management tool by TermsFeed Policy Generator

Changeset 11665


Ignore:
Timestamp:
12/05/14 15:54:36 (10 years ago)
Author:
ascheibe
Message:

#2031 implemented review comments for chart analysis view

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  
    308308      LogFitting logFitting = new LogFitting();
    309309      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" };
    311311
    312312      runs = Content.Where(x => x.Results.ContainsKey(resultName) && x.Visible).ToList();
     
    335335        double firstAvg = values.Take((int)(values.Count() * 0.25)).Average();
    336336        double lastAvg = values.Skip((int)(values.Count() * 0.75)).Average();
    337         double k, d, r, a, b;
     337        double k, d, r;
    338338        llsFitting.Calculate(values.ToArray(), out k, out d);
    339339        r = llsFitting.CalculateError(values.ToArray(), k, d);
    340         logFitting.Calculate(values.ToArray(), out a, out b);
    341340
    342341        dt[i, 0] = cnt;
     
    355354        dt[i, 13] = k;
    356355        dt[i, 14] = r;
    357         dt[i, 15] = a;
    358         dt[i, 16] = b;
    359356
    360357        i++;
Note: See TracChangeset for help on using the changeset viewer.