Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
07/09/14 10:37:01 (10 years ago)
Author:
gkronber
Message:

#2206: made several changes / improvements to the data-preprocessing code while reviewing the code

Location:
trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolic.Regression.Views/3.4
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolic.Regression.Views/3.4/SymbolicRegressionSolutionView.Designer.cs

    r11114 r11156  
    9797      this.transformModelButton.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
    9898      this.transformModelButton.Name = "transformModelButton";
    99       this.transformModelButton.Size = new System.Drawing.Size(135, 23);
     99      this.transformModelButton.Size = new System.Drawing.Size(135, 24);
    100100      this.transformModelButton.TabIndex = 9;
    101101      this.transformModelButton.Text = "Backtransform Model";
  • trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolic.Regression.Views/3.4/SymbolicRegressionSolutionView.cs

    r11114 r11156  
    7575      var transformations = Content.ProblemData.Transformations;
    7676      var targetVar = Content.ProblemData.TargetVariable;
    77       var newModel = transformator.Backtransform(Content.Model, transformations, targetVar);
    78       Content.Model = (ISymbolicRegressionModel)newModel;
    7977
    80       MessageBox.Show(this, "Backtransformation successful.");
     78      var transformedModel = (ISymbolicRegressionModel)transformator.Backtransform(Content.Model, transformations, targetVar);
     79      var transformedSolution = new SymbolicRegressionSolution(transformedModel, (IRegressionProblemData)Content.ProblemData.Clone());
     80
     81      MainFormManager.MainForm.ShowContent(transformedSolution);
    8182    }
    8283  }
Note: See TracChangeset for help on using the changeset viewer.