Free cookie consent management tool by TermsFeed Policy Generator

Changeset 13868


Ignore:
Timestamp:
06/01/16 16:30:59 (8 years ago)
Author:
bburlacu
Message:

#2288: Fix bug in impacts analyzer (wrong estimation limits when trying to optimize constants)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.VariableInteractionNetworks/HeuristicLab.VariableInteractionNetworks/3.3/SymbolicDataAnalysisVariableImpactsAnalyzer.cs

    r13835 r13868  
    214214      if (optimizeConstants) {
    215215        for (int i = 0; i < simplifiedTrees.Count; ++i) {
    216           qualities[i].Value = SymbolicRegressionConstantOptimizationEvaluator.OptimizeConstants(interpreter, simplifiedTrees[i], problemData, problemData.TrainingIndices, applyLinearScaling, constantOptimizationIterations, true, estimationLimits.Upper, estimationLimits.Lower);
     216          qualities[i].Value = SymbolicRegressionConstantOptimizationEvaluator.OptimizeConstants(interpreter, simplifiedTrees[i], problemData, problemData.TrainingIndices, applyLinearScaling, constantOptimizationIterations, true, estimationLimits.Lower, estimationLimits.Upper);
    217217        }
    218218      }
     
    256256          double newQuality;
    257257          if (optimizeConstants) {
    258             newQuality = SymbolicRegressionConstantOptimizationEvaluator.OptimizeConstants(interpreter, tree, pd, problemData.TrainingIndices, applyLinearScaling, constantOptimizationIterations, true, estimationLimits.Upper, estimationLimits.Lower);
     258            newQuality = SymbolicRegressionConstantOptimizationEvaluator.OptimizeConstants(interpreter, tree, pd, problemData.TrainingIndices, applyLinearScaling, constantOptimizationIterations, true, estimationLimits.Lower, estimationLimits.Upper);
    259259          } else {
    260260            var evaluator = EvaluatorParameter.ActualValue;
Note: See TracChangeset for help on using the changeset viewer.