Changeset 1891 for trunk/sources/HeuristicLab.GP.StructureIdentification/3.3/Evaluators/CoefficientOfDeterminationEvaluator.cs
- Timestamp:
- 05/25/09 17:46:17 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.GP.StructureIdentification/3.3/Evaluators/CoefficientOfDeterminationEvaluator.cs
r1796 r1891 42 42 } 43 43 44 public override void Evaluate(IScope scope, ITreeEvaluator evaluator, IFunctionTree tree,HeuristicLab.DataAnalysis.Dataset dataset, int targetVariable, int start, int end, bool updateTargetValues) {44 public override void Evaluate(IScope scope, ITreeEvaluator evaluator, HeuristicLab.DataAnalysis.Dataset dataset, int targetVariable, int start, int end, bool updateTargetValues) { 45 45 double errorsSquaredSum = 0.0; 46 46 double originalDeviationTotalSumOfSquares = 0.0; … … 50 50 int n = 0; 51 51 for (int sample = start; sample < end; sample++) { 52 double estimated = evaluator.Evaluate( tree,sample);52 double estimated = evaluator.Evaluate(sample); 53 53 double original = dataset.GetValue(sample, targetVariable); 54 54 if (updateTargetValues) {
Note: See TracChangeset
for help on using the changeset viewer.