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/GradientBoostedTrees/LossFunctions/RelativeErrorLoss.cs

    r16453 r16462  
    2525using HeuristicLab.Common;
    2626using HeuristicLab.Core;
    27 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     27using HEAL.Fossil;
    2828
    2929namespace HeuristicLab.Algorithms.DataAnalysis {
    3030  // relative error loss is a special case of weighted absolute error loss with weights = (1/target)
    31   [StorableClass]
     31  [StorableType("1334143A-7F77-46C1-8080-0CC4F4DA8995")]
    3232  [Item("Relative error loss", "")]
    3333  public sealed class RelativeErrorLoss : Item, ILossFunction {
     
    111111    #region item implementation
    112112    [StorableConstructor]
    113     private RelativeErrorLoss(bool deserializing) : base(deserializing) { }
     113    private RelativeErrorLoss(StorableConstructorFlag _) : base(_) { }
    114114
    115115    private RelativeErrorLoss(RelativeErrorLoss original, Cloner cloner) : base(original, cloner) { }
Note: See TracChangeset for help on using the changeset viewer.