Changeset 703
- Timestamp:
- 10/29/08 14:27:17 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.CEDMA.Charting/ModelView.cs
r656 r703 47 47 chart.AddDataRow(DataRowType.Points, pen, pen.Brush); 48 48 BakedTreeEvaluator eval = new BakedTreeEvaluator(); 49 eval.ResetEvaluator((BakedFunctionTree)model, dataset );49 eval.ResetEvaluator((BakedFunctionTree)model, dataset, targetVariable, 0, dataset.Rows, 1.0); 50 50 for(int i = 0; i < dataset.Rows; i += 10) { 51 51 double predicted = eval.Evaluate(i); … … 85 85 chart.AddDataRow(DataRowType.Lines, redPen, redPen.Brush); 86 86 BakedTreeEvaluator eval = new BakedTreeEvaluator(); 87 eval.ResetEvaluator((BakedFunctionTree)model, dataset );87 eval.ResetEvaluator((BakedFunctionTree)model, dataset, targetVariable, 0, dataset.Rows, 1.0); 88 88 int n = 0; 89 89 for(int i = 0; i < dataset.Rows; i ++) {
Note: See TracChangeset
for help on using the changeset viewer.