- Timestamp:
- 10/29/15 20:26:28 (9 years ago)
- Location:
- branches/ClassificationModelComparison/HeuristicLab.Algorithms.DataAnalysis/3.4
- Files:
-
- 1 added
- 1 edited
- 4 moved
Legend:
- Unmodified
- Added
- Removed
-
branches/ClassificationModelComparison/HeuristicLab.Algorithms.DataAnalysis/3.4/BaselineClassifiers/OneR.cs
r13089 r13090 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 2Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2015 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 34 34 /// 1R classification algorithm. 35 35 /// </summary> 36 [Item("OneR Classification", "A simple classification algorithm the searches the best single-variable split (does not support categorical features correctly). ")]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 37 [StorableClass] 38 public sealed class OneRTest : FixedDataAnalysisAlgorithm<IClassificationProblem> { 38 [Creatable("Data Analysis")] // TODO 39 public sealed class OneR : FixedDataAnalysisAlgorithm<IClassificationProblem> { 39 40 40 41 public IValueParameter<IntValue> MinBucketSizeParameter { … … 43 44 44 45 [StorableConstructor] 45 private OneR Test(bool deserializing) : base(deserializing) { }46 private OneR(bool deserializing) : base(deserializing) { } 46 47 47 private OneR Test(OneRTestoriginal, Cloner cloner)48 private OneR(OneR original, Cloner cloner) 48 49 : base(original, cloner) { } 49 50 50 public OneR Test()51 public OneR() 51 52 : base() { 52 53 Parameters.Add(new ValueParameter<IntValue>("MinBucketSize", "Minimum size of a bucket for numerical values. (Except for the rightmost bucket)", new IntValue(6))); … … 55 56 56 57 public override IDeepCloneable Clone(Cloner cloner) { 57 return new OneR Test(this, cloner);58 return new OneR(this, cloner); 58 59 } 59 60 -
branches/ClassificationModelComparison/HeuristicLab.Algorithms.DataAnalysis/3.4/BaselineClassifiers/OneRClassificationModel.cs
r13089 r13090 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 2Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2015 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/ClassificationModelComparison/HeuristicLab.Algorithms.DataAnalysis/3.4/BaselineClassifiers/OneRClassificationSolution.cs
r13089 r13090 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 2Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2015 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/ClassificationModelComparison/HeuristicLab.Algorithms.DataAnalysis/3.4/BaselineClassifiers/ZeroR.cs
r13089 r13090 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 2Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2015 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/ClassificationModelComparison/HeuristicLab.Algorithms.DataAnalysis/3.4/HeuristicLab.Algorithms.DataAnalysis-3.4.csproj
r13089 r13090 202 202 </ItemGroup> 203 203 <ItemGroup> 204 <Compile Include="BaselineClassifiers\OneR.cs" /> 205 <Compile Include="BaselineClassifiers\OneRClassificationModel.cs" /> 206 <Compile Include="BaselineClassifiers\OneRClassificationSolution.cs" /> 207 <Compile Include="BaselineClassifiers\ZeroR.cs" /> 204 208 <Compile Include="CrossValidation.cs"> 205 209 <SubType>Code</SubType> … … 317 321 </Compile> 318 322 <Compile Include="Linear\AlglibUtil.cs" /> 319 <Compile Include="Linear\OneRTest.cs" />320 <Compile Include="Linear\OneR\OneRClassificationModel.cs" />321 <Compile Include="Linear\OneR\OneRClassificationSolution.cs" />322 323 <Compile Include="Linear\Scaling.cs" /> 323 324 <Compile Include="Linear\LinearDiscriminantAnalysis.cs" /> … … 328 329 <Compile Include="Linear\MultinomialLogitClassificationSolution.cs" /> 329 330 <Compile Include="Linear\MultinomialLogitModel.cs" /> 330 <Compile Include="Linear\ZeroR.cs" />331 331 <Compile Include="Nca\Initialization\INcaInitializer.cs" /> 332 332 <Compile Include="Nca\Initialization\LdaInitializer.cs" />
Note: See TracChangeset
for help on using the changeset viewer.