Changeset 363 for trunk/sources/HeuristicLab.StructureIdentification/Evaluation/CoefficientOfDeterminationEvaluator.cs
- Timestamp:
- 07/04/08 17:30:24 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.StructureIdentification/Evaluation/CoefficientOfDeterminationEvaluator.cs
r155 r363 47 47 double originalDeviationTotalSumOfSquares = 0.0; 48 48 double targetMean = dataset.GetMean(targetVariable); 49 functionTree.PrepareEvaluation(dataset); 49 50 for(int sample = 0; sample < dataset.Rows; sample++) { 50 double estimated = functionTree.Evaluate( dataset,sample);51 double estimated = functionTree.Evaluate(sample); 51 52 double original = dataset.GetValue(sample, targetVariable); 52 53 if(!double.IsNaN(original) && !double.IsInfinity(original)) {
Note: See TracChangeset
for help on using the changeset viewer.