Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
01/22/14 14:33:36 (10 years ago)
Author:
rstoll
Message:
  • Renamed PreprocessingDataManipulation to ManipulationLogic
  • Proceeded with StatisticsView
File:
1 edited

Legend:

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

    r10367 r10369  
    2525    public int GetNumericColumnCount() {
    2626      int count = 0;
    27       foreach (var variableName in preprocessingData.VariableNames) {
    28         if (preprocessingData.IsType<double>(variableName)) {
     27
     28      for (int i = 0; i < preprocessingData.Columns; ++i) {
     29        if (preprocessingData.IsType<double>(i)) {
    2930          ++count;
    3031        }
     
    3940    public int GetMissingValueCount() {
    4041      int count = 0;
    41       for(int i = 0; i < preprocessingData.Columns; ++i){
     42      for (int i = 0; i < preprocessingData.Columns; ++i) {
    4243        count += GetMissingValueCount(i);
    4344      }
     
    104105    public int GetRowMissingValueCount(int rowIndex) {
    105106      int count = 0;
    106        for(int i = 0; i < preprocessingData.Columns; ++i){
     107      for (int i = 0; i < preprocessingData.Columns; ++i) {
    107108        if (searchLogic.IsMissingValue(i, rowIndex)) {
    108109          ++count;
Note: See TracChangeset for help on using the changeset viewer.