Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
05/04/17 17:19:35 (7 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/GaussianProcess/GaussianProcessRegressionModelCreator.cs

    r14899 r14927  
    2727using HeuristicLab.Encodings.RealVectorEncoding;
    2828using HeuristicLab.Parameters;
    29 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     29using HeuristicLab.Persistence;
    3030using HeuristicLab.Problems.DataAnalysis;
    3131
    3232namespace HeuristicLab.Algorithms.DataAnalysis {
    33   [StorableClass]
     33  [StorableType("25272a52-1405-4ac3-a1ba-61f6ad0e28c2")]
    3434  [Item(Name = "GaussianProcessRegressionModelCreator",
    3535    Description = "Creates a Gaussian process model for regression given the data, the hyperparameters, a mean function, and a covariance function.")]
     
    6868        HyperparameterGradientsParameter.ActualValue = new RealVector(model.HyperparameterGradients);
    6969        return base.Apply();
    70       }
    71       catch (ArgumentException) { }
    72       catch (alglib.alglibexception) { }
     70      } catch (ArgumentException) { } catch (alglib.alglibexception) { }
    7371      NegativeLogLikelihoodParameter.ActualValue = new DoubleValue(1E300);
    7472      HyperparameterGradientsParameter.ActualValue = new RealVector(Hyperparameter.Count());
Note: See TracChangeset for help on using the changeset viewer.