Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
12/13/21 10:25:35 (3 years ago)
Author:
gkronber
Message:

#3140: made several more changes while reviewing the branch.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3140_NumberSymbol/HeuristicLab.Problems.DataAnalysis.Symbolic.Classification/3.4/SymbolicClassificationPruningOperator.cs

    r18100 r18114  
    103103        if (node is NumberTreeNode) continue;
    104104
    105         double impactValue, replacementValue, newQualityForImpactsCalculation;
    106         impactValuesCalculator.CalculateImpactAndReplacementValues(model, node, problemData, rows, out impactValue, out replacementValue, out newQualityForImpactsCalculation, qualityForImpactsCalculation);
     105        impactValuesCalculator.CalculateImpactAndReplacementValues(model, node, problemData, rows,
     106          out double impactValue, out double replacementValue, out double newQualityForImpactsCalculation, qualityForImpactsCalculation);
    107107
    108108        if (pruneOnlyZeroImpactNodes && !impactValue.IsAlmost(0.0)) continue;
     
    112112        numberNode.Value = replacementValue;
    113113
    114         ReplaceWithConstant(node, numberNode);
     114        ReplaceWithNumber(node, numberNode);
    115115        i += node.GetLength() - 1; // skip subtrees under the node that was folded
    116116
Note: See TracChangeset for help on using the changeset viewer.