- Timestamp:
- 01/03/22 16:37:23 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3136_Structural_GP/HeuristicLab.Problems.DataAnalysis.Symbolic.Regression/3.4/SingleObjective/StructuredSymbolicRegressionSingleObjectiveProblem.cs
r18162 r18177 199 199 var tree = BuildTree(individual); 200 200 201 if (StructureTemplate.ApplyLinearScaling) 201 if (StructureTemplate.ApplyLinearScaling) { 202 202 AdjustLinearScalingParams(ProblemData, tree, Interpreter); 203 } 203 204 204 205 individual[SymbolicExpressionTreeName] = tree; 205 206 // dpiringe: needed when Maximization = true207 if (TreeEvaluatorParameter.Value is SymbolicRegressionParameterOptimizationEvaluator constantOptEvaluator) {208 constantOptEvaluator.RandomParameter.Value = random;209 constantOptEvaluator.RelativeNumberOfEvaluatedSamplesParameter.Value =210 (PercentValue)constantOptEvaluator.ParameterOptimizationRowsPercentage.Clone();211 }212 206 213 207 return TreeEvaluatorParameter.Value.Evaluate(
Note: See TracChangeset
for help on using the changeset viewer.