Changeset 5906 for trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolic.Regression/3.4/MultiObjective
- Timestamp:
- 03/31/11 11:22:28 (14 years ago)
- Location:
- trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolic.Regression/3.4/MultiObjective
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolic.Regression/3.4/MultiObjective/SymbolicRegressionMultiObjectiveMeanSquaredErrorTreeSizeEvaluator.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[] qualities = Calculate(SymbolicDataAnalysisTreeInterpreterParameter.ActualValue, solution, EstimationLimitsParameter.ActualValue.Lower, EstimationLimitsParameter.ActualValue.Upper, ProblemDataParameter.ActualValue, rows); 51 50 QualitiesParameter.ActualValue = new DoubleArray(qualities); 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[] quality = 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 quality; -
trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolic.Regression/3.4/MultiObjective/SymbolicRegressionMultiObjectivePearsonRSquaredTreeSizeEvaluator.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[] qualities = Calculate(SymbolicDataAnalysisTreeInterpreterParameter.ActualValue, solution, EstimationLimitsParameter.ActualValue.Lower, EstimationLimitsParameter.ActualValue.Upper, ProblemDataParameter.ActualValue, rows); 52 50 QualitiesParameter.ActualValue = new DoubleArray(qualities); 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[] quality = 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 quality;
Note: See TracChangeset
for help on using the changeset viewer.