Changeset 14237 for branches/symbreg-factors-2650/HeuristicLab.Problems.DataAnalysis.Symbolic.Classification/3.4/SymbolicClassificationSolutionImpactValuesCalculator.cs
- Timestamp:
- 08/05/16 14:25:28 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/symbreg-factors-2650/HeuristicLab.Problems.DataAnalysis.Symbolic.Classification/3.4/SymbolicClassificationSolutionImpactValuesCalculator.cs
r14232 r14237 59 59 int i = tempModelParentNode.IndexOfSubtree(tempModelNode); 60 60 double bestReplacementValue = 0.0; 61 double bestImpactValue = double. NegativeInfinity;61 double bestImpactValue = double.PositiveInfinity; 62 62 newQualityForImpactsCalculation = qualityForImpactsCalculation; // initialize 63 63 // try the potentially reasonable replacement values and use the best one … … 78 78 impactValue = qualityForImpactsCalculation - newQualityForImpactsCalculation; 79 79 80 if (impactValue >bestImpactValue) {80 if (impactValue < bestImpactValue) { 81 81 bestImpactValue = impactValue; 82 82 bestReplacementValue = repValue;
Note: See TracChangeset
for help on using the changeset viewer.