Changeset 13300 for trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolic.Regression/3.4/MultiObjective/PearsonRSquaredTreeComplexityEvaluator.cs
- Timestamp:
- 11/19/15 14:15:19 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolic.Regression/3.4/MultiObjective/PearsonRSquaredTreeComplexityEvaluator.cs
r13241 r13300 43 43 public PearsonRSquaredTreeComplexityEvaluator() : base() { } 44 44 45 public override IEnumerable<bool> Maximization { get { return new bool[2] { true, false }; } } 45 public override IEnumerable<bool> Maximization { get { return new bool[2] { true, false }; } } // maximize R² and minimize model complexity 46 46 47 47 public override IOperation InstrumentedApply() { … … 72 72 EstimationLimitsParameter.ExecutionContext = context; 73 73 ApplyLinearScalingParameter.ExecutionContext = context; 74 // DecimalPlaces parameter is a FixedValueParameter and doesn't need the context. 74 75 75 76 double[] quality = Calculate(SymbolicDataAnalysisTreeInterpreterParameter.ActualValue, tree, EstimationLimitsParameter.ActualValue.Lower, EstimationLimitsParameter.ActualValue.Upper, problemData, rows, ApplyLinearScalingParameter.ActualValue.Value, DecimalPlaces);
Note: See TracChangeset
for help on using the changeset viewer.