- Timestamp:
- 03/05/14 13:28:31 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/DataPreprocessing/HeuristicLab.DataPreprocessing/3.3/Implementations/StatisticsLogic.cs
r10532 r10534 92 92 93 93 public T GetMostCommonValue<T>(int columnIndex) { 94 var t = preprocessingData.GetValues<T>(columnIndex); 95 var t2 = t.GroupBy(x => x); 96 var t3 = t2.Select(g => g.Key); 97 94 98 return preprocessingData.GetValues<T>(columnIndex) 95 99 … … 153 157 return "Unknown Type"; 154 158 } 155 156 159 private IEnumerable<double> GetDateTimeAsSeconds(int columnIndex) { 157 160 return preprocessingData.GetValues<DateTime>(columnIndex).Select(x => (double)x.Ticks / TimeSpan.TicksPerSecond);
Note: See TracChangeset
for help on using the changeset viewer.