Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
03/31/11 11:22:28 (14 years ago)
Author:
mkommend
Message:

#1411: Reverted changesets regarding the number of evaluated nodes.

Location:
trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolic.Classification/3.4/SingleObjective
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolic.Classification/3.4/SingleObjective/SymbolicClassificationSingleObjectiveBoundedMeanSquaredErrorEvaluator.cs

    r5894 r5906  
    4949      double quality = Calculate(SymbolicDataAnalysisTreeInterpreterParameter.ActualValue, solution, EstimationLimitsParameter.ActualValue.Lower, EstimationLimitsParameter.ActualValue.Upper, ProblemDataParameter.ActualValue, rows);
    5050      QualityParameter.ActualValue = new DoubleValue(quality);
    51       AddEvaluatedNodes(solution.Length * rows.Count());
    5251      return base.Apply();
    5352    }
     
    9089      SymbolicDataAnalysisTreeInterpreterParameter.ExecutionContext = context;
    9190      EstimationLimitsParameter.ExecutionContext = context;
    92       EvaluatedNodesParameter.ExecutionContext = context;
    9391
    9492      double mse = Calculate(SymbolicDataAnalysisTreeInterpreterParameter.ActualValue, tree, EstimationLimitsParameter.ActualValue.Lower, EstimationLimitsParameter.ActualValue.Upper, problemData, rows);
    95       AddEvaluatedNodes(tree.Length * rows.Count());
    9693
    9794      SymbolicDataAnalysisTreeInterpreterParameter.ExecutionContext = null;
    9895      EstimationLimitsParameter.ExecutionContext = null;
    99       EvaluatedNodesParameter.ExecutionContext = null;
    10096
    10197      return mse;
  • trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolic.Classification/3.4/SingleObjective/SymbolicClassificationSingleObjectiveMeanSquaredErrorEvaluator.cs

    r5894 r5906  
    2020#endregion
    2121
    22 using System.Linq;
    2322using System.Collections.Generic;
    2423using HeuristicLab.Common;
     
    5049      double quality = Calculate(SymbolicDataAnalysisTreeInterpreterParameter.ActualValue, solution, EstimationLimitsParameter.ActualValue.Lower, EstimationLimitsParameter.ActualValue.Upper, ProblemDataParameter.ActualValue, rows);
    5150      QualityParameter.ActualValue = new DoubleValue(quality);
    52       AddEvaluatedNodes(solution.Length * rows.Count());
    5351      return base.Apply();
    5452    }
     
    6765      SymbolicDataAnalysisTreeInterpreterParameter.ExecutionContext = context;
    6866      EstimationLimitsParameter.ExecutionContext = context;
    69       EvaluatedNodesParameter.ExecutionContext = context;
    7067
    7168      double mse = Calculate(SymbolicDataAnalysisTreeInterpreterParameter.ActualValue, tree, EstimationLimitsParameter.ActualValue.Lower, EstimationLimitsParameter.ActualValue.Upper, problemData, rows);
    72       AddEvaluatedNodes(tree.Length * rows.Count());
    7369
    7470      SymbolicDataAnalysisTreeInterpreterParameter.ExecutionContext = null;
    7571      EstimationLimitsParameter.ExecutionContext = null;
    76       EvaluatedNodesParameter.ExecutionContext = null;
    7772
    7873      return mse;
  • trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolic.Classification/3.4/SingleObjective/SymbolicClassificationSingleObjectivePearsonRSquaredEvaluator.cs

    r5894 r5906  
    2020#endregion
    2121
    22 using System;
    23 using System.Linq;
    2422using System.Collections.Generic;
    2523using HeuristicLab.Common;
     
    5149      double quality = Calculate(SymbolicDataAnalysisTreeInterpreterParameter.ActualValue, solution, EstimationLimitsParameter.ActualValue.Lower, EstimationLimitsParameter.ActualValue.Upper, ProblemDataParameter.ActualValue, rows);
    5250      QualityParameter.ActualValue = new DoubleValue(quality);
    53       AddEvaluatedNodes(solution.Length * rows.Count());
    5451      return base.Apply();
    5552    }
     
    6764      SymbolicDataAnalysisTreeInterpreterParameter.ExecutionContext = context;
    6865      EstimationLimitsParameter.ExecutionContext = context;
    69       EvaluatedNodesParameter.ExecutionContext = context;
    7066
    7167      double r2 = Calculate(SymbolicDataAnalysisTreeInterpreterParameter.ActualValue, tree, EstimationLimitsParameter.ActualValue.Lower, EstimationLimitsParameter.ActualValue.Upper, problemData, rows);
    72       AddEvaluatedNodes(tree.Length * rows.Count());
    7368
    7469      SymbolicDataAnalysisTreeInterpreterParameter.ExecutionContext = null;
    7570      EstimationLimitsParameter.ExecutionContext = null;
    76       EvaluatedNodesParameter.ExecutionContext = null;
    7771
    7872      return r2;
Note: See TracChangeset for help on using the changeset viewer.