Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/05/14 13:28:31 (10 years ago)
Author:
rstoll
Message:
  • StatisticsView column specific information added
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/DataPreprocessing/HeuristicLab.DataPreprocessing/3.3/Implementations/StatisticsLogic.cs

    r10532 r10534  
    9292
    9393    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
    9498      return preprocessingData.GetValues<T>(columnIndex)
    9599
     
    153157      return "Unknown Type";
    154158    }
    155 
    156159    private IEnumerable<double> GetDateTimeAsSeconds(int columnIndex) {
    157160      return preprocessingData.GetValues<DateTime>(columnIndex).Select(x => (double)x.Ticks / TimeSpan.TicksPerSecond);
Note: See TracChangeset for help on using the changeset viewer.