Free cookie consent management tool by TermsFeed Policy Generator

Changeset 9209


Ignore:
Timestamp:
02/06/13 13:45:54 (11 years ago)
Author:
mkommend
Message:

#1890: Corrected copy & paste error in SymbolicRegressionConstantOptimizationEvaluator.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolic.Regression/3.4/SingleObjective/Evaluators/SymbolicRegressionConstantOptimizationEvaluator.cs

    r8985 r9209  
    132132      ApplyLinearScalingParameter.ExecutionContext = context;
    133133
    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)
     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)
    137137      double r2 = SymbolicRegressionSingleObjectivePearsonRSquaredEvaluator.Calculate(SymbolicDataAnalysisTreeInterpreterParameter.ActualValue, tree, EstimationLimitsParameter.ActualValue.Lower, EstimationLimitsParameter.ActualValue.Upper, problemData, rows, ApplyLinearScalingParameter.ActualValue.Value);
    138138
    139139      SymbolicDataAnalysisTreeInterpreterParameter.ExecutionContext = null;
    140140      EstimationLimitsParameter.ExecutionContext = null;
    141       ApplyLinearScalingParameter.ExecutionContext = context;
     141      ApplyLinearScalingParameter.ExecutionContext = null;
    142142
    143143      return r2;
Note: See TracChangeset for help on using the changeset viewer.