Changeset 11011 for branches/DataPreprocessing/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/SymbolicExpressionTreeBacktransformator.cs
- Timestamp:
- 06/12/14 14:14:33 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/DataPreprocessing/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/SymbolicExpressionTreeBacktransformator.cs
r10980 r11011 34 34 } 35 35 36 public voidBacktransform(IDataAnalysisModel model, IEnumerable<ITransformation> transformations, string targetVariable) {37 var symbolicModel = (ISymbolicDataAnalysisModel)model ;36 public IDataAnalysisModel Backtransform(IDataAnalysisModel model, IEnumerable<ITransformation> transformations, string targetVariable) { 37 var symbolicModel = (ISymbolicDataAnalysisModel)model.Clone(); 38 38 39 39 foreach (var transformation in transformations.Reverse()) { 40 40 ApplyBacktransformation(transformation, symbolicModel.SymbolicExpressionTree, targetVariable); 41 41 } 42 43 return symbolicModel; 42 44 } 43 45
Note: See TracChangeset
for help on using the changeset viewer.