Changeset 5818 for trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolic.Regression/3.4/SingleObjective/SymbolicRegressionSingleObjectiveValidationBestSolutionAnalyzer.cs
- Timestamp:
- 03/23/11 13:52:29 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolic.Regression/3.4/SingleObjective/SymbolicRegressionSingleObjectiveValidationBestSolutionAnalyzer.cs
r5809 r5818 68 68 protected override ISymbolicRegressionSolution CreateSolution(ISymbolicExpressionTree bestTree, double bestQuality) { 69 69 var model = new SymbolicRegressionModel(bestTree, SymbolicDataAnalysisTreeInterpreterParameter.ActualValue, EstimationLimitsParameter.ActualValue.Lower, EstimationLimitsParameter.ActualValue.Upper); 70 var solution = new SymbolicRegressionSolution(model, ProblemDataParameter.ActualValue);71 70 if (ApplyLinearScaling.Value) 72 solution.ScaleModel();73 return solution;71 SymbolicRegressionModel.Scale(model, ProblemDataParameter.ActualValue); 72 return new SymbolicRegressionSolution(model, ProblemDataParameter.ActualValue); 74 73 } 75 74 }
Note: See TracChangeset
for help on using the changeset viewer.