- Timestamp:
- 12/18/17 16:17:39 (7 years ago)
- Location:
- stable
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
stable
- Property svn:mergeinfo changed
/trunk/sources merged: 15518,15534
- Property svn:mergeinfo changed
-
stable/HeuristicLab.DataPreprocessing.Views
- Property svn:mergeinfo changed
-
stable/HeuristicLab.DataPreprocessing.Views/3.4/DataCompletenessView.cs
r15242 r15535 52 52 53 53 private void InitData() { 54 IDictionary<int, IList<int>> missingValueIndices = Content.SearchLogic.GetMissingValueIndices(); 55 56 bool[,] valueMissing = new bool[Content.SearchLogic.Rows, Content.SearchLogic.Columns]; 57 foreach (var columnMissingValues in missingValueIndices) { 58 var column = columnMissingValues.Key; 59 foreach (var missingValueIndex in columnMissingValues.Value) 60 valueMissing[missingValueIndex, column] = true; 54 bool[,] valueMissing = new bool[Content.PreprocessingData.Rows, Content.PreprocessingData.Columns]; 55 for (int row = 0; row < Content.PreprocessingData.Rows; row++) { 56 for (int column = 0; column < Content.PreprocessingData.Columns; column++) 57 valueMissing[row, column] = Content.PreprocessingData.IsCellEmpty(column, row); 61 58 } 62 59 … … 78 75 //custom x axis label 79 76 double from = 0.5; 80 foreach (String columnName in Content. SearchLogic.VariableNames) {77 foreach (String columnName in Content.PreprocessingData.VariableNames) { 81 78 double to = from + 1; 82 79 chart.ChartAreas[0].AxisX.CustomLabels.Add(from, to, columnName);
Note: See TracChangeset
for help on using the changeset viewer.