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