Changeset 14861


Ignore:
Timestamp:
04/13/17 14:02:28 (2 weeks ago)
Author:
mkommend
Message:

#2765: Adapted multi-objective SymReg analyzer to add the solutions as tag to the data points.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Problems.DataAnalysis.Symbolic.Regression/3.4/MultiObjective/SymbolicRegressionMultiObjectiveTrainingBestSolutionAnalyzer.cs

    r14718 r14861  
    144144
    145145      qualityToTreeSize.Rows.Clear();
    146       var trainingRow = new ScatterPlotDataRow("Training NMSE", "", sizeParetoFront.Select(x => new Point2D<double>(x.Model.SymbolicExpressionTree.Length, x.TrainingNormalizedMeanSquaredError)));
     146      var trainingRow = new ScatterPlotDataRow("Training NMSE", "", sizeParetoFront.Select(x => new Point2D<double>(x.Model.SymbolicExpressionTree.Length, x.TrainingNormalizedMeanSquaredError, x)));
    147147      trainingRow.VisualProperties.PointSize = 8;
    148148      qualityToTreeSize.Rows.Add(trainingRow);
     
    150150      if (AnalyzeTestError) {
    151151        var testRow = new ScatterPlotDataRow("Test NMSE", "",
    152           sizeParetoFront.Select(x => new Point2D<double>(x.Model.SymbolicExpressionTree.Length, x.TestNormalizedMeanSquaredError)));
     152          sizeParetoFront.Select(x => new Point2D<double>(x.Model.SymbolicExpressionTree.Length, x.TestNormalizedMeanSquaredError, x)));
    153153        testRow.VisualProperties.PointSize = 8;
    154154        qualityToTreeSize.Rows.Add(testRow);
Note: See TracChangeset for help on using the changeset viewer.