Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
08/10/08 11:37:05 (16 years ago)
Author:
gkronber
Message:

fixed a bug (ticket #242 (All GP evaluators should support the 'UseEstimatedTargetValues' switch for autoregressive modelling))

File:
1 edited

Legend:

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

    r479 r480  
    5555      for(int sample = start; sample < end; sample++) {
    5656        ItemList row = new ItemList();
    57         row.Add(new DoubleData(GetEstimatedValue(sample)));
    58         row.Add(new DoubleData(GetOriginalValue(sample)));
     57        double estimated = GetEstimatedValue(sample);
     58        double original = GetOriginalValue(sample);
     59        SetOriginalValue(sample, estimated);
     60        row.Add(new DoubleData(estimated));
     61        row.Add(new DoubleData(original));
    5962        values.Add(row);
    6063      }
Note: See TracChangeset for help on using the changeset viewer.