Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
11/13/15 21:02:54 (8 years ago)
Author:
gkronber
Message:

#2491: merged r13034 and r13051 from trunk to stable branch

Location:
stable
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • stable

  • stable/HeuristicLab.DataPreprocessing/3.4

  • stable/HeuristicLab.DataPreprocessing/3.4/Implementations/StatisticsLogic.cs

    r13149 r13151  
    166166      double percentile = double.NaN;
    167167      if (preprocessingData.VariableHasType<double>(columnIndex)) {
    168         percentile = GetValuesWithoutNaN<double>(columnIndex).Percentile(0.25);
    169       } else if (preprocessingData.VariableHasType<DateTime>(columnIndex)) {
    170         percentile = GetDateTimeAsSeconds(columnIndex).Percentile(0.25);
     168        percentile = GetValuesWithoutNaN<double>(columnIndex).Quantile(0.25);
     169      } else if (preprocessingData.VariableHasType<DateTime>(columnIndex)) {
     170        percentile = GetDateTimeAsSeconds(columnIndex).Quantile(0.25);
    171171      }
    172172      return percentile;
     
    176176      double percentile = double.NaN;
    177177      if (preprocessingData.VariableHasType<double>(columnIndex)) {
    178         percentile = GetValuesWithoutNaN<double>(columnIndex).Percentile(0.75);
    179       } else if (preprocessingData.VariableHasType<DateTime>(columnIndex)) {
    180         percentile = GetDateTimeAsSeconds(columnIndex).Percentile(0.75);
     178        percentile = GetValuesWithoutNaN<double>(columnIndex).Quantile(0.75);
     179      } else if (preprocessingData.VariableHasType<DateTime>(columnIndex)) {
     180        percentile = GetDateTimeAsSeconds(columnIndex).Quantile(0.75);
    181181      }
    182182      return percentile;
Note: See TracChangeset for help on using the changeset viewer.