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/BaselineClassifiers
Files:
1 added
1 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
Note: See TracChangeset for help on using the changeset viewer.