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/NeuralNetwork/NeuralNetworkRegression.cs

    r16453 r16462  
    2929using HeuristicLab.Optimization;
    3030using HeuristicLab.Parameters;
    31 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     31using HEAL.Fossil;
    3232using HeuristicLab.Problems.DataAnalysis;
    3333
     
    3838  [Item("Neural Network Regression (NN)", "Neural network regression data analysis algorithm (wrapper for ALGLIB). Further documentation: http://www.alglib.net/dataanalysis/neuralnetworks.php")]
    3939  [Creatable(CreatableAttribute.Categories.DataAnalysisRegression, Priority = 130)]
    40   [StorableClass]
     40  [StorableType("F9EEA27B-43FF-4296-A4B9-CC024CD1778C")]
    4141  public sealed class NeuralNetworkRegression : FixedDataAnalysisAlgorithm<IRegressionProblem> {
    4242    private const string DecayParameterName = "Decay";
     
    108108
    109109    [StorableConstructor]
    110     private NeuralNetworkRegression(bool deserializing) : base(deserializing) { }
     110    private NeuralNetworkRegression(StorableConstructorFlag _) : base(_) { }
    111111    private NeuralNetworkRegression(NeuralNetworkRegression original, Cloner cloner)
    112112      : base(original, cloner) {
Note: See TracChangeset for help on using the changeset viewer.