Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
07/28/08 18:46:02 (16 years ago)
Author:
gkronber
Message:

fixed ticket #205 by creating the function-specific evaluator in the evaluation operators.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.StructureIdentification/Evaluation/VarianceAccountedForEvaluator.cs

    r367 r396  
    5959      double[] originalTargetVariableValues = new double[trainingEnd-trainingStart];
    6060      double targetMean = dataset.GetMean(targetVariable, trainingStart, trainingEnd);
    61       functionTree.PrepareEvaluation(dataset);
    6261      for(int sample = trainingStart; sample < trainingEnd; sample++) {
    63         double estimated = functionTree.Evaluate(sample);
     62        double estimated = evaluator.Evaluate(sample);
    6463        double original = dataset.GetValue(sample, targetVariable);
    6564        if(!double.IsNaN(original) && !double.IsInfinity(original)) {
Note: See TracChangeset for help on using the changeset viewer.