Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
10/29/08 14:27:17 (16 years ago)
Author:
gkronber
Message:

fixed compilation errors in CEDMA plugins introduced with r702 (#328)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.CEDMA.Charting/ModelView.cs

    r656 r703  
    4747      chart.AddDataRow(DataRowType.Points, pen, pen.Brush);
    4848      BakedTreeEvaluator eval = new BakedTreeEvaluator();
    49       eval.ResetEvaluator((BakedFunctionTree)model, dataset);
     49      eval.ResetEvaluator((BakedFunctionTree)model, dataset, targetVariable, 0, dataset.Rows, 1.0);
    5050      for(int i = 0; i < dataset.Rows; i += 10) {
    5151        double predicted = eval.Evaluate(i);
     
    8585      chart.AddDataRow(DataRowType.Lines, redPen, redPen.Brush);
    8686      BakedTreeEvaluator eval = new BakedTreeEvaluator();
    87       eval.ResetEvaluator((BakedFunctionTree)model, dataset);
     87      eval.ResetEvaluator((BakedFunctionTree)model, dataset, targetVariable, 0, dataset.Rows, 1.0);
    8888      int n = 0;
    8989      for(int i = 0; i < dataset.Rows; i ++) {
Note: See TracChangeset for help on using the changeset viewer.