- Timestamp:
- 11/02/15 21:54:58 (9 years ago)
- Location:
- branches/ClassificationModelComparison/HeuristicLab.Algorithms.DataAnalysis/3.4
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/ClassificationModelComparison/HeuristicLab.Algorithms.DataAnalysis/3.4/BaselineClassifiers/OneRClassificationModel.cs
r13090 r13098 30 30 namespace HeuristicLab.Algorithms.DataAnalysis { 31 31 [StorableClass] 32 [Item(" 1R Classification Model", "A model that uses intervals for one variable to determine the class.")]32 [Item("OneR Classification Model", "A model that uses intervals for one variable to determine the class.")] 33 33 public class OneRClassificationModel : NamedItem, IClassificationModel { 34 34 [Storable] -
branches/ClassificationModelComparison/HeuristicLab.Algorithms.DataAnalysis/3.4/BaselineClassifiers/OneRClassificationSolution.cs
r13090 r13098 27 27 namespace HeuristicLab.Algorithms.DataAnalysis { 28 28 [StorableClass] 29 [Item(Name = " 1R Classification Solution", Description = "Represents a 1R classification solution (model + data).")]29 [Item(Name = "OneR Classification Solution", Description = "Represents a OneR classification solution which uses only a single feature with potentially multiple thresholds for class prediction.")] 30 30 public class OneRClassificationSolution : ClassificationSolution { 31 31 public new OneRClassificationModel Model { -
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 } -
branches/ClassificationModelComparison/HeuristicLab.Algorithms.DataAnalysis/3.4/GradientBoostedTrees/GradientBoostedTreesAlgorithmStatic.cs
r13065 r13098 96 96 weights = new List<double>(); 97 97 // add constant model 98 models.Add(new Constant RegressionModel(f0));98 models.Add(new ConstantModel(f0)); 99 99 weights.Add(1.0); 100 100 }
Note: See TracChangeset
for help on using the changeset viewer.