Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
05/21/14 15:13:44 (9 years ago)
Author:
tsteinre
Message:
  • refined IModelBacktransformator
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/DataPreprocessing/HeuristicLab.Problems.DataAnalysis.Symbolic/3.4/SymbolicExpressionTreeBacktransformator.cs

    r10878 r10880  
    3434    }
    3535
    36     public void Backtransform(IDataAnalysisModel model, IEnumerable<ITransformation> transformations) {
     36    public void Backtransform(IDataAnalysisModel model, IEnumerable<ITransformation> transformations, string targetVariable) {
    3737      var symbolicModel = (ISymbolicDataAnalysisModel)model;
    3838
    3939      foreach (var transformation in transformations) {
    40         ApplyBacktransformation(transformation, symbolicModel.SymbolicExpressionTree);
     40        ApplyBacktransformation(transformation, symbolicModel.SymbolicExpressionTree, targetVariable);
    4141      }
    4242    }
    4343
    44     private void ApplyBacktransformation(ITransformation transformation, ISymbolicExpressionTree symbolicExpressionTree) {
     44    private void ApplyBacktransformation(ITransformation transformation, ISymbolicExpressionTree symbolicExpressionTree, string targetVariable) {
    4545      var variableNodes = symbolicExpressionTree.IterateNodesBreadth()
    4646        .OfType<VariableTreeNode>()
Note: See TracChangeset for help on using the changeset viewer.