Changeset 5906 for trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolic.Classification/3.4/SingleObjective
- Timestamp:
- 03/31/11 11:22:28 (14 years ago)
- 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 49 49 double quality = Calculate(SymbolicDataAnalysisTreeInterpreterParameter.ActualValue, solution, EstimationLimitsParameter.ActualValue.Lower, EstimationLimitsParameter.ActualValue.Upper, ProblemDataParameter.ActualValue, rows); 50 50 QualityParameter.ActualValue = new DoubleValue(quality); 51 AddEvaluatedNodes(solution.Length * rows.Count());52 51 return base.Apply(); 53 52 } … … 90 89 SymbolicDataAnalysisTreeInterpreterParameter.ExecutionContext = context; 91 90 EstimationLimitsParameter.ExecutionContext = context; 92 EvaluatedNodesParameter.ExecutionContext = context;93 91 94 92 double mse = Calculate(SymbolicDataAnalysisTreeInterpreterParameter.ActualValue, tree, EstimationLimitsParameter.ActualValue.Lower, EstimationLimitsParameter.ActualValue.Upper, problemData, rows); 95 AddEvaluatedNodes(tree.Length * rows.Count());96 93 97 94 SymbolicDataAnalysisTreeInterpreterParameter.ExecutionContext = null; 98 95 EstimationLimitsParameter.ExecutionContext = null; 99 EvaluatedNodesParameter.ExecutionContext = null;100 96 101 97 return mse; -
trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolic.Classification/3.4/SingleObjective/SymbolicClassificationSingleObjectiveMeanSquaredErrorEvaluator.cs
r5894 r5906 20 20 #endregion 21 21 22 using System.Linq;23 22 using System.Collections.Generic; 24 23 using HeuristicLab.Common; … … 50 49 double quality = Calculate(SymbolicDataAnalysisTreeInterpreterParameter.ActualValue, solution, EstimationLimitsParameter.ActualValue.Lower, EstimationLimitsParameter.ActualValue.Upper, ProblemDataParameter.ActualValue, rows); 51 50 QualityParameter.ActualValue = new DoubleValue(quality); 52 AddEvaluatedNodes(solution.Length * rows.Count());53 51 return base.Apply(); 54 52 } … … 67 65 SymbolicDataAnalysisTreeInterpreterParameter.ExecutionContext = context; 68 66 EstimationLimitsParameter.ExecutionContext = context; 69 EvaluatedNodesParameter.ExecutionContext = context;70 67 71 68 double mse = Calculate(SymbolicDataAnalysisTreeInterpreterParameter.ActualValue, tree, EstimationLimitsParameter.ActualValue.Lower, EstimationLimitsParameter.ActualValue.Upper, problemData, rows); 72 AddEvaluatedNodes(tree.Length * rows.Count());73 69 74 70 SymbolicDataAnalysisTreeInterpreterParameter.ExecutionContext = null; 75 71 EstimationLimitsParameter.ExecutionContext = null; 76 EvaluatedNodesParameter.ExecutionContext = null;77 72 78 73 return mse; -
trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolic.Classification/3.4/SingleObjective/SymbolicClassificationSingleObjectivePearsonRSquaredEvaluator.cs
r5894 r5906 20 20 #endregion 21 21 22 using System;23 using System.Linq;24 22 using System.Collections.Generic; 25 23 using HeuristicLab.Common; … … 51 49 double quality = Calculate(SymbolicDataAnalysisTreeInterpreterParameter.ActualValue, solution, EstimationLimitsParameter.ActualValue.Lower, EstimationLimitsParameter.ActualValue.Upper, ProblemDataParameter.ActualValue, rows); 52 50 QualityParameter.ActualValue = new DoubleValue(quality); 53 AddEvaluatedNodes(solution.Length * rows.Count());54 51 return base.Apply(); 55 52 } … … 67 64 SymbolicDataAnalysisTreeInterpreterParameter.ExecutionContext = context; 68 65 EstimationLimitsParameter.ExecutionContext = context; 69 EvaluatedNodesParameter.ExecutionContext = context;70 66 71 67 double r2 = Calculate(SymbolicDataAnalysisTreeInterpreterParameter.ActualValue, tree, EstimationLimitsParameter.ActualValue.Lower, EstimationLimitsParameter.ActualValue.Upper, problemData, rows); 72 AddEvaluatedNodes(tree.Length * rows.Count());73 68 74 69 SymbolicDataAnalysisTreeInterpreterParameter.ExecutionContext = null; 75 70 EstimationLimitsParameter.ExecutionContext = null; 76 EvaluatedNodesParameter.ExecutionContext = null;77 71 78 72 return r2;
Note: See TracChangeset
for help on using the changeset viewer.