Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
10/29/15 19:48:17 (8 years ago)
Author:
gkronber
Message:

#1998

  • deleted obsolete version of OneR algorithm (also does perform worse than mkommend's implementation in my tests)
  • reused the ConstantRegressionModel as ConstantClassificationModel (OK?)
  • fixed a few strings here and there
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/ClassificationModelComparison/HeuristicLab.Algorithms.DataAnalysis/3.4/Linear/OneRTest.cs

    r10570 r13089  
    3434  /// 1R classification algorithm.
    3535  /// </summary>
    36   [Item("OneR Classification", "1R classification algorithm.")]
     36  [Item("OneR Classification", "A simple classification algorithm the searches the best single-variable split (does not support categorical features correctly).")]
    3737  [StorableClass]
    3838  public sealed class OneRTest : FixedDataAnalysisAlgorithm<IClassificationProblem> {
     
    6363    }
    6464
    65     public static IClassificationSolution CreateOneRSolution(IClassificationProblemData problemData, int minBucketSize) {
     65    public static IClassificationSolution CreateOneRSolution(IClassificationProblemData problemData, int minBucketSize = 6) {
    6666      var bestClassified = 0;
    6767      List<Split> bestSplits = null;
Note: See TracChangeset for help on using the changeset viewer.