Changeset 15088
- Timestamp:
- 06/29/17 14:00:46 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.DataAnalysis.Views/3.4/Regression/RegressionSolutionResidualAnalysisView.cs
r15024 r15088 23 23 using System.Drawing; 24 24 using System.Linq; 25 using HeuristicLab.Common;26 25 using HeuristicLab.Data; 27 26 using HeuristicLab.MainForm; … … 34 33 35 34 // names should be relatively save to prevent collisions with variable names in the dataset 35 private const string TargetLabel = "> Target"; 36 36 private const string PredictionLabel = "> Prediction"; 37 37 private const string ResidualLabel = "> Residual"; … … 126 126 var residual = target - pred; 127 127 var relError = residual / target; 128 run.Results.Add(TargetLabel, new DoubleValue(target)); 128 129 run.Results.Add(PredictionLabel, new DoubleValue(pred)); 129 130 run.Results.Add(ResidualLabel, new DoubleValue(residual));
Note: See TracChangeset
for help on using the changeset viewer.