Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
05/18/17 12:29:59 (7 years ago)
Author:
pfleck
Message:

#2709

  • Fixed initial selection of the grouping text box (empty string instead of null to select the first entry).
  • General code fixes (removed unnessecary bank lines and code, class member order, ...)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/DataPreprocessing Enhancements/HeuristicLab.DataPreprocessing/3.4/Data/PreprocessingData.cs

    r14381 r14996  
    3333  [Item("PreprocessingData", "Represents data used for preprocessing.")]
    3434  public abstract class PreprocessingData : NamedItem, IPreprocessingData {
    35 
    3635    public IntRange TrainingPartition { get; set; }
    3736    public IntRange TestPartition { get; set; }
    3837
    39     protected IList<ITransformation> transformations;
    40     public IList<ITransformation> Transformations {
    41       get { return transformations; }
    42     }
     38    public IList<ITransformation> Transformations { get; protected set; }
    4339
    4440    protected IList<IList> variableValues;
     
    8581      TrainingPartition = (IntRange)original.TrainingPartition.Clone(cloner);
    8682      TestPartition = (IntRange)original.TestPartition.Clone(cloner);
    87       transformations = new List<ITransformation>(original.transformations.Select(cloner.Clone));
     83      Transformations = new List<ITransformation>(original.Transformations.Select(cloner.Clone));
    8884
    8985      InputVariables = new List<string>(original.InputVariables);
     
    9793      Name = "Preprocessing Data";
    9894
    99       transformations = new List<ITransformation>();
     95      Transformations = new List<ITransformation>();
    10096      selection = new Dictionary<int, IList<int>>();
    10197
     
    166162
    167163    #region IPreprocessingData Members
    168 
    169164    public abstract T GetCell<T>(int columnIndex, int rowIndex);
    170165
Note: See TracChangeset for help on using the changeset viewer.