Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
12/28/18 16:10:48 (5 years ago)
Author:
jkarder
Message:

#2520: worked on reintegration of new persistence

  • added nuget references to HEAL.Fossil
  • added StorableType attributes to many classes
  • changed signature of StorableConstructors
  • removed some classes in old persistence
  • removed some unnecessary usings
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2520_PersistenceReintegration/HeuristicLab.Algorithms.DataAnalysis/3.4/BaselineClassifiers/OneR.cs

    r16453 r16462  
    2929using HeuristicLab.Optimization;
    3030using HeuristicLab.Parameters;
    31 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     31using HEAL.Fossil;
    3232using HeuristicLab.Problems.DataAnalysis;
    3333
     
    3737  /// </summary>
    3838  [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.")]
    39   [StorableClass]
     39  [StorableType("22D1C518-CEDA-413C-8997-D34BC06B6267")]
    4040  public sealed class OneR : FixedDataAnalysisAlgorithm<IClassificationProblem> {
    4141
     
    4545
    4646    [StorableConstructor]
    47     private OneR(bool deserializing) : base(deserializing) { }
     47    private OneR(StorableConstructorFlag _) : base(_) { }
    4848
    4949    private OneR(OneR original, Cloner cloner)
Note: See TracChangeset for help on using the changeset viewer.