Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
05/04/17 17:19:35 (8 years ago)
Author:
gkronber
Message:

#2520: changed all usages of StorableClass to use StorableType with an auto-generated GUID (did not add StorableType to other type definitions yet)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/PersistenceReintegration/HeuristicLab.Algorithms.DataAnalysis/3.4/GBM/GradientBoostingRegressionAlgorithm.cs

    r14523 r14927  
    3232using HeuristicLab.Optimization;
    3333using HeuristicLab.Parameters;
    34 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     34using HeuristicLab.Persistence;
    3535using HeuristicLab.Problems.DataAnalysis;
    3636using HeuristicLab.Problems.DataAnalysis.Symbolic;
     
    4242  [Item("Gradient Boosting Machine Regression (GBM)",
    4343    "Gradient boosting for any regression base learner (e.g. MCTS symbolic regression)")]
    44   [StorableClass]
     44  [StorableType("70f73be5-e56f-49ae-9157-2d7c8ef21041")]
    4545  [Creatable(CreatableAttribute.Categories.DataAnalysisRegression, Priority = 350)]
    4646  public class GradientBoostingRegressionAlgorithm : FixedDataAnalysisAlgorithm<IRegressionProblem> {
     
    323323          Results.Add(new Result("EnsembleSolution", ensembleSolution));
    324324        }
    325       }
    326       finally {
     325      } finally {
    327326        // reset everything
    328327        alg.Prepare(true);
     
    483482            model = sol.Model;
    484483          }
    485         }
    486         finally {
     484        } finally {
    487485          alg.ExceptionOccurred -= handler;
    488486          alg.Stopped -= handler2;
Note: See TracChangeset for help on using the changeset viewer.