Changeset 13994 for branches/HeuristicLab.RegressionSolutionGradientView/HeuristicLab.Problems.DataAnalysis.Views
- Timestamp:
- 07/04/16 23:40:44 (8 years ago)
- Location:
- branches/HeuristicLab.RegressionSolutionGradientView/HeuristicLab.Problems.DataAnalysis.Views
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.RegressionSolutionGradientView/HeuristicLab.Problems.DataAnalysis.Views
- Property svn:mergeinfo changed
/trunk/sources/HeuristicLab.Problems.DataAnalysis.Views merged: 13958,13992
- Property svn:mergeinfo changed
-
branches/HeuristicLab.RegressionSolutionGradientView/HeuristicLab.Problems.DataAnalysis.Views/3.4/Regression/RegressionSolutionErrorCharacteristicsCurveView.cs
r13100 r13994 292 292 private IRegressionSolution CreateConstantSolution() { 293 293 double averageTrainingTarget = ProblemData.Dataset.GetDoubleValues(ProblemData.TargetVariable, ProblemData.TrainingIndices).Average(); 294 var model = new ConstantModel(averageTrainingTarget );294 var model = new ConstantModel(averageTrainingTarget, ProblemData.TargetVariable); 295 295 var solution = model.CreateRegressionSolution(ProblemData); 296 296 solution.Name = "Baseline (constant)"; -
branches/HeuristicLab.RegressionSolutionGradientView/HeuristicLab.Problems.DataAnalysis.Views/3.4/Regression/RegressionSolutionScatterPlotView.cs
r13764 r13994 36 36 private const string TEST_SERIES = "Test samples"; 37 37 38 private const int OPACITY_LEVEL = 150; 39 38 40 public new IRegressionSolution Content { 39 41 get { return (IRegressionSolution)base.Content; } … … 60 62 this.chart.TextAntiAliasingQuality = TextAntiAliasingQuality.High; 61 63 this.chart.AxisViewChanged += new EventHandler<System.Windows.Forms.DataVisualization.Charting.ViewEventArgs>(chart_AxisViewChanged); 64 65 //make series colors semi transparent 66 this.chart.ApplyPaletteColors(); 67 this.chart.Series[ALL_SERIES].Color = Color.FromArgb(OPACITY_LEVEL, this.chart.Series[ALL_SERIES].Color); 68 this.chart.Series[TRAINING_SERIES].Color = Color.FromArgb(OPACITY_LEVEL, this.chart.Series[TRAINING_SERIES].Color); 69 this.chart.Series[TEST_SERIES].Color = Color.FromArgb(OPACITY_LEVEL, this.chart.Series[TEST_SERIES].Color); 70 71 //change all markers to circles 72 this.chart.Series[ALL_SERIES].MarkerStyle = MarkerStyle.Circle; 73 this.chart.Series[TRAINING_SERIES].MarkerStyle = MarkerStyle.Circle; 74 this.chart.Series[TEST_SERIES].MarkerStyle = MarkerStyle.Circle; 62 75 63 76 //configure axis
Note: See TracChangeset
for help on using the changeset viewer.