Changeset 5722 for branches/DataAnalysis Refactoring/HeuristicLab.Problems.DataAnalysis.Symbolic.Regression/3.4/SingleObjective/SymbolicRegressionSingleObjectiveMeanSquaredErrorEvaluator.cs
- Timestamp:
- 03/16/11 19:29:57 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/DataAnalysis Refactoring/HeuristicLab.Problems.DataAnalysis.Symbolic.Regression/3.4/SingleObjective/SymbolicRegressionSingleObjectiveMeanSquaredErrorEvaluator.cs
r5624 r5722 59 59 60 60 public override double Evaluate(IExecutionContext context, ISymbolicExpressionTree tree, IRegressionProblemData problemData, IEnumerable<int> rows) { 61 return Calculate(SymbolicDataAnalysisTreeInterpreter, tree, LowerEstimationLimit.Value, UpperEstimationLimit.Value, problemData, rows); 61 SymbolicDataAnalysisTreeInterpreterParameter.ExecutionContext = context; 62 LowerEstimationLimitParameter.ExecutionContext = context; 63 UpperEstimationLimitParameter.ExecutionContext = context; 64 65 double mse = Calculate(SymbolicDataAnalysisTreeInterpreter, tree, LowerEstimationLimit.Value, UpperEstimationLimit.Value, problemData, rows); 66 67 SymbolicDataAnalysisTreeInterpreterParameter.ExecutionContext = null; 68 LowerEstimationLimitParameter.ExecutionContext = null; 69 UpperEstimationLimitParameter.ExecutionContext = null; 70 71 return mse; 62 72 } 63 73 }
Note: See TracChangeset
for help on using the changeset viewer.