Changeset 5275 for branches/DataAnalysis/HeuristicLab.Problems.DataAnalysis.MultiVariate.Regression/3.3/Symbolic/Evaluators/SymbolicRegressionNormalizedMeanSquaredErrorEvaluator.cs
- Timestamp:
- 01/11/11 15:03:46 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/DataAnalysis/HeuristicLab.Problems.DataAnalysis.MultiVariate.Regression/3.3/Symbolic/Evaluators/SymbolicRegressionNormalizedMeanSquaredErrorEvaluator.cs
r4194 r5275 29 29 using HeuristicLab.Problems.DataAnalysis.Evaluators; 30 30 using HeuristicLab.Problems.DataAnalysis.Symbolic; 31 using HeuristicLab.Common; 31 32 32 33 namespace HeuristicLab.Problems.DataAnalysis.Regression.Symbolic { … … 34 35 [StorableClass] 35 36 public class SymbolicRegressionNormalizedMeanSquaredErrorEvaluator : SingleObjectiveSymbolicRegressionEvaluator { 37 [StorableConstructor] 38 protected SymbolicRegressionNormalizedMeanSquaredErrorEvaluator(bool deserializing) : base(deserializing) { } 39 protected SymbolicRegressionNormalizedMeanSquaredErrorEvaluator(SymbolicRegressionNormalizedMeanSquaredErrorEvaluator original, Cloner cloner) 40 : base(original, cloner) { 41 } 36 42 public SymbolicRegressionNormalizedMeanSquaredErrorEvaluator() 37 43 : base() { 38 44 } 39 45 public override IDeepCloneable Clone(Cloner cloner) { 46 return new SymbolicRegressionNormalizedMeanSquaredErrorEvaluator(this, cloner); 47 } 40 48 public override double Evaluate(ISymbolicExpressionTreeInterpreter interpreter, SymbolicExpressionTree solution, double lowerEstimationLimit, double upperEstimationLimit, Dataset dataset, string targetVariable, IEnumerable<int> rows) { 41 49 double nmse = Calculate(interpreter, solution, lowerEstimationLimit, upperEstimationLimit, dataset, targetVariable, rows);
Note: See TracChangeset
for help on using the changeset viewer.