Changeset 13368 for branches/PersistenceOverhaul/HeuristicLab.Algorithms.DataAnalysis/3.4/BaselineClassifiers
- Timestamp:
- 11/24/15 17:08:13 (9 years ago)
- Location:
- branches/PersistenceOverhaul/HeuristicLab.Algorithms.DataAnalysis/3.4/BaselineClassifiers
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/PersistenceOverhaul/HeuristicLab.Algorithms.DataAnalysis/3.4/BaselineClassifiers/OneR.cs
r13092 r13368 1 #region License Information1 #region License Information 2 2 /* HeuristicLab 3 3 * Copyright (C) 2002-2015 Heuristic and Evolutionary Algorithms Laboratory (HEAL) … … 35 35 /// </summary> 36 36 [Item("OneR Classification", "A simple classification algorithm the searches the best single-variable split (does not support categorical features correctly). See R.C. Holte (1993). Very simple classification rules perform well on most commonly used datasets. Machine Learning. 11:63-91.")] 37 [StorableClass ]37 [StorableClass("2F669B2F-EA57-49F5-9960-D9376692C8AE")] 38 38 public sealed class OneR : FixedDataAnalysisAlgorithm<IClassificationProblem> { 39 39 -
branches/PersistenceOverhaul/HeuristicLab.Algorithms.DataAnalysis/3.4/BaselineClassifiers/OneRClassificationModel.cs
r13098 r13368 1 #region License Information1 #region License Information 2 2 /* HeuristicLab 3 3 * Copyright (C) 2002-2015 Heuristic and Evolutionary Algorithms Laboratory (HEAL) … … 29 29 30 30 namespace HeuristicLab.Algorithms.DataAnalysis { 31 [StorableClass ]31 [StorableClass("A01F0098-381E-4B8E-80D3-A579A04C50A6")] 32 32 [Item("OneR Classification Model", "A model that uses intervals for one variable to determine the class.")] 33 33 public class OneRClassificationModel : NamedItem, IClassificationModel { … … 83 83 84 84 // uses sorting to return the values in the order of rows, instead of using nested for loops 85 // to avoid O(n ²) runtime85 // to avoid O(n²) runtime 86 86 public IEnumerable<double> GetEstimatedClassValues(IDataset dataset, IEnumerable<int> rows) { 87 87 var values = dataset.GetDoubleValues(Variable, rows).ToArray(); -
branches/PersistenceOverhaul/HeuristicLab.Algorithms.DataAnalysis/3.4/BaselineClassifiers/OneRClassificationSolution.cs
r13098 r13368 1 #region License Information1 #region License Information 2 2 /* HeuristicLab 3 3 * Copyright (C) 2002-2015 Heuristic and Evolutionary Algorithms Laboratory (HEAL) … … 26 26 27 27 namespace HeuristicLab.Algorithms.DataAnalysis { 28 [StorableClass ]28 [StorableClass("1E8E924F-3C9A-44D2-8889-4DF29731A3BF")] 29 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 { -
branches/PersistenceOverhaul/HeuristicLab.Algorithms.DataAnalysis/3.4/BaselineClassifiers/ZeroR.cs
r13098 r13368 1 #region License Information1 #region License Information 2 2 /* HeuristicLab 3 3 * Copyright (C) 2002-2015 Heuristic and Evolutionary Algorithms Laboratory (HEAL) … … 32 32 /// </summary> 33 33 [Item("ZeroR Classification", "The simplest possible classifier, ZeroR always predicts the majority class.")] 34 [StorableClass ]34 [StorableClass("701DCCAC-A8F0-438C-B611-69D67FBCE250")] 35 35 public sealed class ZeroR : FixedDataAnalysisAlgorithm<IClassificationProblem> { 36 36
Note: See TracChangeset
for help on using the changeset viewer.