Changeset 10179 for branches/DataPreprocessing
- Timestamp:
- 12/04/13 12:35:23 (11 years ago)
- Location:
- branches/DataPreprocessing/HeuristicLab.DataPreprocessing/3.3
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/DataPreprocessing/HeuristicLab.DataPreprocessing/3.3/Interfaces/IPreprocessingDataStatisticInfo.cs
r10162 r10179 14 14 double GetMedian(int columnIndex); 15 15 double GetAverage(int columnIndex); 16 double GetMostCommonValue(int columnIndex);16 T GetMostCommonValue<T>(int columnIndex); 17 17 double GetStandardDeviation(int columnIndex); 18 int GetDifferentValueCount<T>(int columnIndex); 18 19 } 19 20 } -
branches/DataPreprocessing/HeuristicLab.DataPreprocessing/3.3/PreprocessingDataStatisticInfo.cs
r10169 r10179 97 97 } 98 98 99 public int GetDifferentValueCount<T>(int columnIndex) { 100 return preprocessingData.GetValues<T>(columnIndex).GroupBy(x => x).Count(); 101 } 99 102 } 100 103 }
Note: See TracChangeset
for help on using the changeset viewer.