Changeset 13098 for branches/ClassificationModelComparison/HeuristicLab.Algorithms.DataAnalysis/3.4/BaselineClassifiers/ZeroR.cs
- Timestamp:
- 11/02/15 21:54:58 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/ClassificationModelComparison/HeuristicLab.Algorithms.DataAnalysis/3.4/BaselineClassifiers/ZeroR.cs
r13092 r13098 64 64 .MaxItems(kvp => kvp.Value).Select(x => x.Key).First(); 65 65 66 var model = new Constant RegressionModel(dominantClass);67 var solution = new ConstantClassificationSolution(model, (IClassificationProblemData)problemData.Clone());66 var model = new ConstantModel(dominantClass); 67 var solution = model.CreateClassificationSolution(problemData); 68 68 return solution; 69 69 }
Note: See TracChangeset
for help on using the changeset viewer.