Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
11/24/15 17:08:13 (9 years ago)
Author:
ascheibe
Message:

#2520 added guids to storable classes

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 Information
     1#region License Information
    22/* HeuristicLab
    33 * Copyright (C) 2002-2015 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     
    3535  /// </summary>
    3636  [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")]
    3838  public sealed class OneR : FixedDataAnalysisAlgorithm<IClassificationProblem> {
    3939
  • branches/PersistenceOverhaul/HeuristicLab.Algorithms.DataAnalysis/3.4/BaselineClassifiers/OneRClassificationModel.cs

    r13098 r13368  
    1 #region License Information
     1#region License Information
    22/* HeuristicLab
    33 * Copyright (C) 2002-2015 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     
    2929
    3030namespace HeuristicLab.Algorithms.DataAnalysis {
    31   [StorableClass]
     31  [StorableClass("A01F0098-381E-4B8E-80D3-A579A04C50A6")]
    3232  [Item("OneR Classification Model", "A model that uses intervals for one variable to determine the class.")]
    3333  public class OneRClassificationModel : NamedItem, IClassificationModel {
     
    8383
    8484    // uses sorting to return the values in the order of rows, instead of using nested for loops
    85     // to avoid O(n²) runtime
     85    // to avoid O(n²) runtime
    8686    public IEnumerable<double> GetEstimatedClassValues(IDataset dataset, IEnumerable<int> rows) {
    8787      var values = dataset.GetDoubleValues(Variable, rows).ToArray();
  • branches/PersistenceOverhaul/HeuristicLab.Algorithms.DataAnalysis/3.4/BaselineClassifiers/OneRClassificationSolution.cs

    r13098 r13368  
    1 #region License Information
     1#region License Information
    22/* HeuristicLab
    33 * Copyright (C) 2002-2015 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     
    2626
    2727namespace HeuristicLab.Algorithms.DataAnalysis {
    28   [StorableClass]
     28  [StorableClass("1E8E924F-3C9A-44D2-8889-4DF29731A3BF")]
    2929  [Item(Name = "OneR Classification Solution", Description = "Represents a OneR classification solution which uses only a single feature with potentially multiple thresholds for class prediction.")]
    3030  public class OneRClassificationSolution : ClassificationSolution {
  • branches/PersistenceOverhaul/HeuristicLab.Algorithms.DataAnalysis/3.4/BaselineClassifiers/ZeroR.cs

    r13098 r13368  
    1 #region License Information
     1#region License Information
    22/* HeuristicLab
    33 * Copyright (C) 2002-2015 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     
    3232  /// </summary>
    3333  [Item("ZeroR Classification", "The simplest possible classifier, ZeroR always predicts the majority class.")]
    34   [StorableClass]
     34  [StorableClass("701DCCAC-A8F0-438C-B611-69D67FBCE250")]
    3535  public sealed class ZeroR : FixedDataAnalysisAlgorithm<IClassificationProblem> {
    3636
Note: See TracChangeset for help on using the changeset viewer.