Changeset 5514 for branches/DataAnalysis Refactoring/HeuristicLab.Problems.DataAnalysis.Symbolic.Regression/3.4/SingleObjective
- Timestamp:
- 02/18/11 11:32:25 (14 years ago)
- Location:
- branches/DataAnalysis Refactoring/HeuristicLab.Problems.DataAnalysis.Symbolic.Regression/3.4/SingleObjective
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/DataAnalysis Refactoring/HeuristicLab.Problems.DataAnalysis.Symbolic.Regression/3.4/SingleObjective/SymbolicRegressionSingleObjectiveMeanSquaredErrorEvaluator.cs
r5505 r5514 42 42 public SymbolicRegressionSingleObjectiveMeanSquaredErrorEvaluator() : base() { } 43 43 44 public override bool Maximization { get { return false; } } 45 44 46 public override IOperation Apply() { 45 47 IEnumerable<int> rows = GenerateRowsToEvaluate(); 46 double quality = Calculate(Symbolic ExpressionTreeInterpreterParameter.ActualValue, SymbolicExpressionTreeParameter.ActualValue, LowerEstimationLimit.Value, UpperEstimationLimit.Value, ProblemData, rows);48 double quality = Calculate(SymbolicDataAnalysisTreeInterpreterParameter.ActualValue, SymbolicExpressionTreeParameter.ActualValue, LowerEstimationLimit.Value, UpperEstimationLimit.Value, ProblemData, rows); 47 49 QualityParameter.ActualValue = new DoubleValue(quality); 48 50 return base.Apply(); -
branches/DataAnalysis Refactoring/HeuristicLab.Problems.DataAnalysis.Symbolic.Regression/3.4/SingleObjective/SymbolicRegressionSingleObjectivePearsonRSquaredEvaluator.cs
r5505 r5514 42 42 public SymbolicRegressionSingleObjectivePearsonRSquaredEvaluator() : base() { } 43 43 44 public override bool Maximization { get { return true; } } 45 44 46 public override IOperation Apply() { 45 47 IEnumerable<int> rows = GenerateRowsToEvaluate(); 46 double quality = Calculate(Symbolic ExpressionTreeInterpreterParameter.ActualValue, SymbolicExpressionTreeParameter.ActualValue, LowerEstimationLimit.Value, UpperEstimationLimit.Value, ProblemData, rows);48 double quality = Calculate(SymbolicDataAnalysisTreeInterpreterParameter.ActualValue, SymbolicExpressionTreeParameter.ActualValue, LowerEstimationLimit.Value, UpperEstimationLimit.Value, ProblemData, rows); 47 49 QualityParameter.ActualValue = new DoubleValue(quality); 48 50 return base.Apply();
Note: See TracChangeset
for help on using the changeset viewer.