Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
08/05/16 14:25:28 (8 years ago)
Author:
gkronber
Message:

#2650: work in progress..

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/symbreg-factors-2650/HeuristicLab.Problems.DataAnalysis.Symbolic.Classification/3.4/SymbolicClassificationSolutionImpactValuesCalculator.cs

    r14232 r14237  
    5959      int i = tempModelParentNode.IndexOfSubtree(tempModelNode);
    6060      double bestReplacementValue = 0.0;
    61       double bestImpactValue = double.NegativeInfinity;
     61      double bestImpactValue = double.PositiveInfinity;
    6262      newQualityForImpactsCalculation = qualityForImpactsCalculation; // initialize
    6363      // try the potentially reasonable replacement values and use the best one
     
    7878        impactValue = qualityForImpactsCalculation - newQualityForImpactsCalculation;
    7979
    80         if (impactValue > bestImpactValue) {
     80        if (impactValue < bestImpactValue) {
    8181          bestImpactValue = impactValue;
    8282          bestReplacementValue = repValue;
Note: See TracChangeset for help on using the changeset viewer.