Changeset 13151 for stable/HeuristicLab.DataPreprocessing
- Timestamp:
- 11/13/15 21:02:54 (9 years ago)
- Location:
- stable
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
stable
- Property svn:mergeinfo changed
/trunk/sources merged: 13034,13051
- Property svn:mergeinfo changed
-
stable/HeuristicLab.DataPreprocessing/3.4
- Property svn:mergeinfo changed
/trunk/sources/HeuristicLab.DataPreprocessing/3.4 merged: 13051
- Property svn:mergeinfo changed
-
stable/HeuristicLab.DataPreprocessing/3.4/Implementations/StatisticsLogic.cs
r13149 r13151 166 166 double percentile = double.NaN; 167 167 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); 171 171 } 172 172 return percentile; … … 176 176 double percentile = double.NaN; 177 177 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); 181 181 } 182 182 return percentile;
Note: See TracChangeset
for help on using the changeset viewer.