- Timestamp:
- 05/11/17 13:44:01 (7 years ago)
- Location:
- stable
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
stable
- Property svn:mergeinfo changed
/trunk/sources merged: 14381-14382,14384,14388,14418,14425
- Property svn:mergeinfo changed
-
stable/HeuristicLab.DataPreprocessing/3.4
- Property svn:mergeinfo changed
/trunk/sources/HeuristicLab.DataPreprocessing/3.4 merged: 14381,14418
- Property svn:mergeinfo changed
-
stable/HeuristicLab.DataPreprocessing/3.4/Data/PreprocessingData.cs
r14960 r14963 59 59 } 60 60 61 public IList<string> InputVariables { get; private set; } 62 public string TargetVariable { get; private set; } // optional 63 61 64 public int Columns { 62 65 get { return variableNames.Count; } … … 82 85 TrainingPartition = (IntRange)original.TrainingPartition.Clone(cloner); 83 86 TestPartition = (IntRange)original.TestPartition.Clone(cloner); 84 transformations = new List<ITransformation>(); 87 transformations = new List<ITransformation>(original.transformations.Select(cloner.Clone)); 88 89 InputVariables = new List<string>(original.InputVariables); 90 TargetVariable = original.TargetVariable; 85 91 86 92 RegisterEventHandler(); … … 102 108 Dataset dataset = (Dataset)problemData.Dataset; 103 109 variableNames = new List<string>(problemData.Dataset.VariableNames); 110 InputVariables = new List<string>(problemData.AllowedInputVariables); 111 TargetVariable = (problemData is IRegressionProblemData) ? ((IRegressionProblemData)problemData).TargetVariable 112 : (problemData is IClassificationProblemData) ? ((IClassificationProblemData)problemData).TargetVariable 113 : null; 104 114 105 115 int columnIndex = 0;
Note: See TracChangeset
for help on using the changeset viewer.