- Timestamp:
- 03/05/14 12:21:27 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/DataPreprocessing/HeuristicLab.DataPreprocessing/3.3/Implementations/StatisticsLogic.cs
r10383 r10532 103 103 public double GetStandardDeviation(int columnIndex) { 104 104 double stdDev = double.NaN; 105 //TODO: fix me106 /*107 105 if (preprocessingData.IsType<double>(columnIndex)) { 108 106 stdDev = preprocessingData.GetValues<double>(columnIndex).StandardDeviation(); 107 } else if (preprocessingData.IsType<DateTime>(columnIndex)) { 108 stdDev = GetDateTimeAsSeconds(columnIndex).StandardDeviation(); 109 109 } 110 else if (preprocessingData.IsType<DateTime>(variableName)) {111 stdDev = GetDateTimeAsSeconds(variableName).StandardDeviation();112 }113 */114 110 return stdDev; 115 111 } … … 117 113 public double GetVariance(int columnIndex) { 118 114 double variance = double.NaN; 119 //TODO: fix me120 /*121 115 if (preprocessingData.IsType<double>(columnIndex)) { 122 116 variance = preprocessingData.GetValues<double>(columnIndex).Variance(); 117 } else if (preprocessingData.IsType<DateTime>(columnIndex)) { 118 variance = GetDateTimeAsSeconds(columnIndex).Variance(); 123 119 } 124 else if (preprocessingData.IsType<DateTime>(variableName)) {125 variance = GetDateTimeAsSeconds(variableName).Variance();126 }127 */128 120 return variance; 129 121 }
Note: See TracChangeset
for help on using the changeset viewer.