Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
12/03/21 13:46:20 (2 years ago)
Author:
dpiringe
Message:

#3136

  • overrode the method GetActualValue in ValueLookupParameter to get the default value when the execution context is null
  • reverted the linear scaling logic for NMSESingleObjectiveConstraintsEvaluator
  • in SymbolicRegressionConstantOptimizationEvaluator: removed the usage of GenerateRowsToEvaluate because it uses lookup parameters
  • set the value of RelativeNumberOfEvaluatedSamplesParameter for SymbolicRegressionConstantOptimizationEvaluator in StructuredSymbolicRegressionSingleObjectiveProblem if Maximization = true and the SymbolicRegressionConstantOptimizationEvaluator is configured as evaluator
  • added the SubFunctionSymbol in TreeToAutoDiffTermConverter
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3136_Structural_GP/HeuristicLab.Problems.DataAnalysis.Symbolic.Regression/3.4/SingleObjective/StructuredSymbolicRegressionSingleObjectiveProblem.cs

    r18103 r18104  
    194194      individual[SymbolicExpressionTreeName] = tree;
    195195
    196       if(TreeEvaluatorParameter.Value is SymbolicRegressionConstantOptimizationEvaluator)
    197         TreeEvaluatorParameter.Value.RandomParameter.Value = random;
     196      // dpiringe: needed when Maximization = true
     197      if (TreeEvaluatorParameter.Value is SymbolicRegressionConstantOptimizationEvaluator constantOptEvaluator) {
     198        constantOptEvaluator.RandomParameter.Value = random;
     199        constantOptEvaluator.RelativeNumberOfEvaluatedSamplesParameter.Value =
     200          (PercentValue)constantOptEvaluator.ConstantOptimizationRowsPercentage.Clone();
     201      }
    198202
    199203      return TreeEvaluatorParameter.Value.Evaluate(
Note: See TracChangeset for help on using the changeset viewer.