Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
12/04/13 15:22:40 (10 years ago)
Author:
rstoll
Message:
  • GetRowMissingValueCount implemented
  • IsMissingValue for cell implemented
File:
1 edited

Legend:

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

    r10189 r10191  
    9191      return preprocessingData.GetValues<T>(variableName).GroupBy(x => x).Count();
    9292    }
     93
     94    public int GetRowMissingValueCount(int rowIndex) {
     95      int count = 0;
     96      foreach (var variableName in preprocessingData.VariableNames) {
     97        if (preprocessingData.IsMissingValue(variableName, rowIndex)) {
     98          ++count;
     99        }
     100      }
     101      return count;
     102    }
    93103  }
    94104}
Note: See TracChangeset for help on using the changeset viewer.