Changeset 10980
- Timestamp:
- 06/11/14 13:29:00 (10 years ago)
- Location:
- branches/DataPreprocessing
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/DataPreprocessing/HeuristicLab.DataPreprocessing/3.4/PreprocessingTransformator.cs
r10976 r10980 119 119 120 120 var copyTransformation = CreateCopyTransformation(oldName, newName); 121 preprocessingData.Transformations.Add(copyTransformation); 122 121 preprocessingData.Transformations.Insert(0, copyTransformation); 123 122 } 124 125 //var transformedColumns = transformations.Select(x => x.Column).Distinct();126 //foreach (var column in transformedColumns) {127 // var copyTransformation = CreateCopyTransformation(column);128 // preprocessingData.Transformations.Add(copyTransformation);129 //}130 123 } 131 124 -
branches/DataPreprocessing/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/SymbolicExpressionTreeBacktransformator.cs
r10883 r10980 37 37 var symbolicModel = (ISymbolicDataAnalysisModel)model; 38 38 39 foreach (var transformation in transformations ) {39 foreach (var transformation in transformations.Reverse()) { 40 40 ApplyBacktransformation(transformation, symbolicModel.SymbolicExpressionTree, targetVariable); 41 41 } … … 48 48 .Where(n => n.VariableName == transformation.Column); 49 49 ApplyRegularBacktransformation(transformation, variableNodes); 50 } else {50 } else if (!(transformation is CopyColumnTransformation)) { 51 51 ApplyInverseBacktransformation(transformation, symbolicExpressionTree); 52 52 }
Note: See TracChangeset
for help on using the changeset viewer.