Changeset 9614 for branches/HeuristicLab.DataImporter/HeuristicLab.DataImporter.Command/MissingValues
- Timestamp:
- 06/12/13 13:32:34 (12 years ago)
- Location:
- branches/HeuristicLab.DataImporter/HeuristicLab.DataImporter.Command/MissingValues
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.DataImporter/HeuristicLab.DataImporter.Command/MissingValues/DeleteColumnsWithMissingValuesThresholdCommand.cs
r8586 r9614 38 38 public double Threshold { get { return threshold; } set { threshold = value; } } 39 39 40 private DeleteColumnsWithMissingValuesThresholdCommand() 41 : base(null, string.Empty, null) { 42 } 40 [StorableConstructor] 41 protected DeleteColumnsWithMissingValuesThresholdCommand(bool deserializing) : base(deserializing) { } 43 42 44 43 public DeleteColumnsWithMissingValuesThresholdCommand(DataSet dataSet, string columnGroupName, int[] affectedColumns) -
branches/HeuristicLab.DataImporter/HeuristicLab.DataImporter.Command/MissingValues/DeleteRowsWithMissingValuesCommand.cs
r7968 r9614 35 35 private ICollection<int> oldSortedColumnIndices; 36 36 37 private DeleteRowsWithMissingValuesCommand() 38 : base(null, string.Empty, null) { 37 [StorableConstructor] 38 protected DeleteRowsWithMissingValuesCommand(bool deserializing) 39 : base(deserializing) { 39 40 oldColumns = new List<ColumnBase>(); 40 41 } -
branches/HeuristicLab.DataImporter/HeuristicLab.DataImporter.Command/MissingValues/DeleteRowsWithMissingValuesThresholdCommand.cs
r8586 r9614 40 40 public double Threshold { get { return threshold; } set { threshold = value; } } 41 41 42 private DeleteRowsWithMissingValuesThresholdCommand() 43 : base(null, string.Empty) { 42 [StorableConstructor] 43 protected DeleteRowsWithMissingValuesThresholdCommand(bool deserializing) 44 : base(deserializing) { 44 45 deletedRows = new Dictionary<int, IComparable[]>(); 45 46 } -
branches/HeuristicLab.DataImporter/HeuristicLab.DataImporter.Command/MissingValues/FillMissingValueCommandBase.cs
r7267 r9614 20 20 #endregion 21 21 22 using System;23 22 using System.Collections.Generic; 24 using System.Linq;25 using System.Text;26 23 using System.Windows.Forms; 27 using HeuristicLab.DataImporter.Data;28 24 using HeuristicLab.DataImporter.Data.CommandBase; 29 25 using HeuristicLab.DataImporter.Data.Model; … … 37 33 protected IEnumerable<SortOrder> oldSortOrder; 38 34 39 private FillMissingValueCommandBase() 40 : base(null, string.Empty, null) { 35 [StorableConstructor] 36 protected FillMissingValueCommandBase(bool deserializing) 37 : base(deserializing) { 41 38 nullValues = new Dictionary<int, List<int>>(); 42 39 } -
branches/HeuristicLab.DataImporter/HeuristicLab.DataImporter.Command/MissingValues/FillMissingValuesWithLinearInterpolation.cs
r7267 r9614 20 20 #endregion 21 21 22 using System;23 22 using System.Collections.Generic; 24 23 using System.Linq; 25 using System.Text;26 24 using System.Windows.Forms; 27 25 using HeuristicLab.DataImporter.Data; … … 35 33 "Handle Missing Values", Position = 2)] 36 34 public class FillMissingValuesWithLinearInterpolation : FillMissingValueCommandBase { 37 private FillMissingValuesWithLinearInterpolation() 38 : base(null, string.Empty, null) { 39 } 40 35 [StorableConstructor] 36 protected FillMissingValuesWithLinearInterpolation(bool deserializing) : base(deserializing) { } 41 37 public FillMissingValuesWithLinearInterpolation(DataSet dataSet, string columnGroupName, int[] affectedColumns) : 42 38 base(dataSet, columnGroupName, affectedColumns) { -
branches/HeuristicLab.DataImporter/HeuristicLab.DataImporter.Command/MissingValues/FillMissingValuesWithMeanCommand.cs
r7267 r9614 20 20 #endregion 21 21 22 using System;23 22 using System.Collections.Generic; 24 23 using System.Linq; 25 using System.Text;26 24 using System.Windows.Forms; 27 25 using HeuristicLab.DataImporter.Data; … … 35 33 "Handle Missing Values", Position = 0)] 36 34 public class FillMissingValuesWithMeanCommand : FillMissingValueCommandBase { 37 private FillMissingValuesWithMeanCommand() 38 : base(null, string.Empty, null) { 39 } 40 35 [StorableConstructor] 36 protected FillMissingValuesWithMeanCommand(bool deserializing) : base(deserializing) { } 41 37 public FillMissingValuesWithMeanCommand(DataSet dataSet, string columnGroupName, int[] affectedColumns) : 42 38 base(dataSet, columnGroupName, affectedColumns) { -
branches/HeuristicLab.DataImporter/HeuristicLab.DataImporter.Command/MissingValues/FillMissingValuesWithMedianCommand.cs
r7267 r9614 20 20 #endregion 21 21 22 using System;23 22 using System.Collections.Generic; 24 23 using System.Linq; 25 using System.Text;26 24 using System.Windows.Forms; 27 25 using HeuristicLab.DataImporter.Data; … … 35 33 "Handle Missing Values", Position = 1)] 36 34 public class FillMissingValuesWithMedianCommand : FillMissingValueCommandBase { 37 private FillMissingValuesWithMedianCommand() 38 : base(null, string.Empty, null) { 39 } 40 35 [StorableConstructor] 36 protected FillMissingValuesWithMedianCommand(bool deserializing) : base(deserializing) { } 41 37 public FillMissingValuesWithMedianCommand(DataSet dataSet, string columnGroupName, int[] affectedColumns) : 42 38 base(dataSet, columnGroupName, affectedColumns) { -
branches/HeuristicLab.DataImporter/HeuristicLab.DataImporter.Command/MissingValues/FillMissingValuesWithPreviousValuesCommand.cs
r7267 r9614 23 23 using System.Collections.Generic; 24 24 using System.Linq; 25 using System.Text;26 25 using System.Windows.Forms; 27 26 using HeuristicLab.DataImporter.Data; … … 34 33 [ViewableCommandInfoAttribute("Previous Value", 1, ColumnGroupState.AnySelectedColumnContainsNull, "Handle Missing Values", Position = 3)] 35 34 public class FillMissingValuesWithPreviousValuesCommand : FillMissingValueCommandBase { 36 private FillMissingValuesWithPreviousValuesCommand() 37 : base(null, string.Empty, null) { 38 } 39 35 [StorableConstructor] 36 protected FillMissingValuesWithPreviousValuesCommand(bool deserializing) : base(deserializing) { } 40 37 public FillMissingValuesWithPreviousValuesCommand(DataSet dataSet, string columnGroupName, int[] affectedColumns) : 41 38 base(dataSet, columnGroupName, affectedColumns) {
Note: See TracChangeset
for help on using the changeset viewer.