Changeset 396 for trunk/sources/HeuristicLab.StructureIdentification/Evaluation/VarianceAccountedForEvaluator.cs
- Timestamp:
- 07/28/08 18:46:02 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.StructureIdentification/Evaluation/VarianceAccountedForEvaluator.cs
r367 r396 59 59 double[] originalTargetVariableValues = new double[trainingEnd-trainingStart]; 60 60 double targetMean = dataset.GetMean(targetVariable, trainingStart, trainingEnd); 61 functionTree.PrepareEvaluation(dataset);62 61 for(int sample = trainingStart; sample < trainingEnd; sample++) { 63 double estimated = functionTree.Evaluate(sample);62 double estimated = evaluator.Evaluate(sample); 64 63 double original = dataset.GetValue(sample, targetVariable); 65 64 if(!double.IsNaN(original) && !double.IsInfinity(original)) {
Note: See TracChangeset
for help on using the changeset viewer.