- Timestamp:
- 11/02/15 22:32:59 (9 years ago)
- Location:
- trunk/sources/HeuristicLab.Problems.DataAnalysis.Views
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Problems.DataAnalysis.Views
- Property svn:mergeinfo changed
/branches/ClassificationModelComparison/HeuristicLab.Problems.DataAnalysis.Views (added) merged: 9116,9119,9135,10553,10556,10560,13081-13082,13086,13088-13089,13091,13098
- Property svn:mergeinfo changed
-
trunk/sources/HeuristicLab.Problems.DataAnalysis.Views/3.4/Regression/RegressionSolutionErrorCharacteristicsCurveView.cs
r13003 r13100 292 292 private IRegressionSolution CreateConstantSolution() { 293 293 double averageTrainingTarget = ProblemData.Dataset.GetDoubleValues(ProblemData.TargetVariable, ProblemData.TrainingIndices).Average(); 294 var model = new Constant RegressionModel(averageTrainingTarget);295 var solution = new ConstantRegressionSolution(model, (IRegressionProblemData)ProblemData.Clone());294 var model = new ConstantModel(averageTrainingTarget); 295 var solution = model.CreateRegressionSolution(ProblemData); 296 296 solution.Name = "Baseline (constant)"; 297 297 return solution;
Note: See TracChangeset
for help on using the changeset viewer.