Changeset 9209 for trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolic.Regression/3.4/SingleObjective
- Timestamp:
- 02/06/13 13:45:54 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolic.Regression/3.4/SingleObjective/Evaluators/SymbolicRegressionConstantOptimizationEvaluator.cs
r8985 r9209 132 132 ApplyLinearScalingParameter.ExecutionContext = context; 133 133 134 135 136 134 // Pearson R² evaluator is used on purpose instead of the const-opt evaluator, 135 // because Evaluate() is used to get the quality of evolved models on 136 // different partitions of the dataset (e.g., best validation model) 137 137 double r2 = SymbolicRegressionSingleObjectivePearsonRSquaredEvaluator.Calculate(SymbolicDataAnalysisTreeInterpreterParameter.ActualValue, tree, EstimationLimitsParameter.ActualValue.Lower, EstimationLimitsParameter.ActualValue.Upper, problemData, rows, ApplyLinearScalingParameter.ActualValue.Value); 138 138 139 139 SymbolicDataAnalysisTreeInterpreterParameter.ExecutionContext = null; 140 140 EstimationLimitsParameter.ExecutionContext = null; 141 ApplyLinearScalingParameter.ExecutionContext = context;141 ApplyLinearScalingParameter.ExecutionContext = null; 142 142 143 143 return r2;
Note: See TracChangeset
for help on using the changeset viewer.