Changeset 13098 for branches/ClassificationModelComparison/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/Regression/ConstantRegressionModel.cs
- Timestamp:
- 11/02/15 21:54:58 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/ClassificationModelComparison/HeuristicLab.Problems.DataAnalysis/3.4/Implementation/Regression/ConstantRegressionModel.cs
r13097 r13098 31 31 [StorableClass] 32 32 [Item("Constant Regression Model", "A model that always returns the same constant value regardless of the presented input data.")] 33 [Obsolete] 33 34 public class ConstantRegressionModel : NamedItem, IRegressionModel, IStringConvertibleValue { 34 35 [Storable] … … 60 61 61 62 public IRegressionSolution CreateRegressionSolution(IRegressionProblemData problemData) { 62 return new ConstantRegressionSolution( this, new RegressionProblemData(problemData));63 return new ConstantRegressionSolution(new ConstantModel(constant), new RegressionProblemData(problemData)); 63 64 } 64 65
Note: See TracChangeset
for help on using the changeset viewer.