Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
10/29/15 20:26:28 (9 years ago)
Author:
gkronber
Message:

#1998: moved OneR and ZeroR out of the folder for linear models, renamed OneRTest -> OneR

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  
    11#region License Information
    22/* HeuristicLab
    3  * Copyright (C) 2002-2012 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     3 * Copyright (C) 2002-2015 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
    44 *
    55 * This file is part of HeuristicLab.
     
    3434  /// 1R classification algorithm.
    3535  /// </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.")]
    3737  [StorableClass]
    38   public sealed class OneRTest : FixedDataAnalysisAlgorithm<IClassificationProblem> {
     38  [Creatable("Data Analysis")] // TODO
     39  public sealed class OneR : FixedDataAnalysisAlgorithm<IClassificationProblem> {
    3940
    4041    public IValueParameter<IntValue> MinBucketSizeParameter {
     
    4344
    4445    [StorableConstructor]
    45     private OneRTest(bool deserializing) : base(deserializing) { }
     46    private OneR(bool deserializing) : base(deserializing) { }
    4647
    47     private OneRTest(OneRTest original, Cloner cloner)
     48    private OneR(OneR original, Cloner cloner)
    4849      : base(original, cloner) { }
    4950
    50     public OneRTest()
     51    public OneR()
    5152      : base() {
    5253      Parameters.Add(new ValueParameter<IntValue>("MinBucketSize", "Minimum size of a bucket for numerical values. (Except for the rightmost bucket)", new IntValue(6)));
     
    5556
    5657    public override IDeepCloneable Clone(Cloner cloner) {
    57       return new OneRTest(this, cloner);
     58      return new OneR(this, cloner);
    5859    }
    5960
  • branches/ClassificationModelComparison/HeuristicLab.Algorithms.DataAnalysis/3.4/BaselineClassifiers/OneRClassificationModel.cs

    r13089 r13090  
    11#region License Information
    22/* HeuristicLab
    3  * Copyright (C) 2002-2012 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     3 * Copyright (C) 2002-2015 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
    44 *
    55 * This file is part of HeuristicLab.
  • branches/ClassificationModelComparison/HeuristicLab.Algorithms.DataAnalysis/3.4/BaselineClassifiers/OneRClassificationSolution.cs

    r13089 r13090  
    11#region License Information
    22/* HeuristicLab
    3  * Copyright (C) 2002-2012 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     3 * Copyright (C) 2002-2015 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
    44 *
    55 * This file is part of HeuristicLab.
  • branches/ClassificationModelComparison/HeuristicLab.Algorithms.DataAnalysis/3.4/BaselineClassifiers/ZeroR.cs

    r13089 r13090  
    11#region License Information
    22/* HeuristicLab
    3  * Copyright (C) 2002-2012 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     3 * Copyright (C) 2002-2015 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
    44 *
    55 * This file is part of HeuristicLab.
  • branches/ClassificationModelComparison/HeuristicLab.Algorithms.DataAnalysis/3.4/HeuristicLab.Algorithms.DataAnalysis-3.4.csproj

    r13089 r13090  
    202202  </ItemGroup>
    203203  <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" />
    204208    <Compile Include="CrossValidation.cs">
    205209      <SubType>Code</SubType>
     
    317321    </Compile>
    318322    <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" />
    322323    <Compile Include="Linear\Scaling.cs" />
    323324    <Compile Include="Linear\LinearDiscriminantAnalysis.cs" />
     
    328329    <Compile Include="Linear\MultinomialLogitClassificationSolution.cs" />
    329330    <Compile Include="Linear\MultinomialLogitModel.cs" />
    330     <Compile Include="Linear\ZeroR.cs" />
    331331    <Compile Include="Nca\Initialization\INcaInitializer.cs" />
    332332    <Compile Include="Nca\Initialization\LdaInitializer.cs" />
Note: See TracChangeset for help on using the changeset viewer.