Changeset 10369 for branches/DataPreprocessing/HeuristicLab.DataPreprocessing/3.3/Implementations/StatisticsLogic.cs
- Timestamp:
- 01/22/14 14:33:36 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/DataPreprocessing/HeuristicLab.DataPreprocessing/3.3/Implementations/StatisticsLogic.cs
r10367 r10369 25 25 public int GetNumericColumnCount() { 26 26 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)) { 29 30 ++count; 30 31 } … … 39 40 public int GetMissingValueCount() { 40 41 int count = 0; 41 for (int i = 0; i < preprocessingData.Columns; ++i){42 for (int i = 0; i < preprocessingData.Columns; ++i) { 42 43 count += GetMissingValueCount(i); 43 44 } … … 104 105 public int GetRowMissingValueCount(int rowIndex) { 105 106 int count = 0; 106 for(int i = 0; i < preprocessingData.Columns; ++i){107 for (int i = 0; i < preprocessingData.Columns; ++i) { 107 108 if (searchLogic.IsMissingValue(i, rowIndex)) { 108 109 ++count;
Note: See TracChangeset
for help on using the changeset viewer.