Changeset 18114 for branches/3140_NumberSymbol/HeuristicLab.Problems.DataAnalysis.Symbolic.Classification
- Timestamp:
- 12/13/21 10:25:35 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3140_NumberSymbol/HeuristicLab.Problems.DataAnalysis.Symbolic.Classification/3.4/SymbolicClassificationPruningOperator.cs
r18100 r18114 103 103 if (node is NumberTreeNode) continue; 104 104 105 double impactValue, replacementValue, newQualityForImpactsCalculation;106 impactValuesCalculator.CalculateImpactAndReplacementValues(model, node, problemData, rows, out impactValue, out replacementValue, outnewQualityForImpactsCalculation, qualityForImpactsCalculation);105 impactValuesCalculator.CalculateImpactAndReplacementValues(model, node, problemData, rows, 106 out double impactValue, out double replacementValue, out double newQualityForImpactsCalculation, qualityForImpactsCalculation); 107 107 108 108 if (pruneOnlyZeroImpactNodes && !impactValue.IsAlmost(0.0)) continue; … … 112 112 numberNode.Value = replacementValue; 113 113 114 ReplaceWith Constant(node, numberNode);114 ReplaceWithNumber(node, numberNode); 115 115 i += node.GetLength() - 1; // skip subtrees under the node that was folded 116 116
Note: See TracChangeset
for help on using the changeset viewer.