Last change
on this file since 13371 was
12720,
checked in by bburlacu, 9 years ago
|
#2359: Changed the impact calculators so that the quality value necessary for impacts calculation is calculated with a separate method. Refactored the CalculateImpactAndReplacementValues method to return the new quality in an out-parameter (adjusted method signature in interface accordingly). Added Evaluate method to the regression and classification pruning operators that re-evaluates the tree using the problem evaluator after pruning was performed.
|
File size:
986 bytes
|
Rev | Line | |
---|
[8916] | 1 | using System.Collections.Generic;
|
---|
[10469] | 2 | using HeuristicLab.Core;
|
---|
[8916] | 3 | using HeuristicLab.Encodings.SymbolicExpressionTreeEncoding;
|
---|
| 4 |
|
---|
| 5 | namespace HeuristicLab.Problems.DataAnalysis.Symbolic {
|
---|
[10469] | 6 | public interface ISymbolicDataAnalysisSolutionImpactValuesCalculator : IItem {
|
---|
[8946] | 7 | double CalculateReplacementValue(ISymbolicDataAnalysisModel model, ISymbolicExpressionTreeNode node, IDataAnalysisProblemData problemData, IEnumerable<int> rows);
|
---|
[12720] | 8 | double CalculateImpactValue(ISymbolicDataAnalysisModel model, ISymbolicExpressionTreeNode node, IDataAnalysisProblemData problemData, IEnumerable<int> rows, double qualityForImpactsCalculation = double.NaN);
|
---|
[10469] | 9 | void CalculateImpactAndReplacementValues(ISymbolicDataAnalysisModel model, ISymbolicExpressionTreeNode node, IDataAnalysisProblemData problemData,
|
---|
[12720] | 10 | IEnumerable<int> rows, out double impactValue, out double replacementValue, out double newQualityForImpactsCalculation, double qualityForImpactsCalculation = double.NaN);
|
---|
[8916] | 11 | }
|
---|
| 12 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.