Changeset 15188 for stable/HeuristicLab.Algorithms.DataAnalysis/3.4/GaussianProcess/GaussianProcessModelCreator.cs
- Timestamp:
- 07/10/17 19:19:26 (7 years ago)
- Location:
- stable
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
stable
- Property svn:mergeinfo changed
/trunk/sources merged: 14899,14918,15160,15163,15165,15187
- Property svn:mergeinfo changed
-
stable/HeuristicLab.Algorithms.DataAnalysis
- Property svn:mergeinfo changed
/trunk/sources/HeuristicLab.Algorithms.DataAnalysis merged: 14899,14918,15160,15163,15165,15187
- Property svn:mergeinfo changed
-
stable/HeuristicLab.Algorithms.DataAnalysis/3.4/GaussianProcess/GaussianProcessModelCreator.cs
r14186 r15188 37 37 private const string ModelParameterName = "Model"; 38 38 private const string NegativeLogLikelihoodParameterName = "NegativeLogLikelihood"; 39 private const string NegativeLogPseudoLikelihoodParameterName = "NegativeLogPseudoLikelihood (LOOCV)"; 39 40 private const string HyperparameterGradientsParameterName = "HyperparameterGradients"; 40 41 protected const string ScaleInputValuesParameterName = "ScaleInputValues"; … … 60 61 public ILookupParameter<DoubleValue> NegativeLogLikelihoodParameter { 61 62 get { return (ILookupParameter<DoubleValue>)Parameters[NegativeLogLikelihoodParameterName]; } 63 } 64 public ILookupParameter<DoubleValue> NegativeLogPseudoLikelihoodParameter { 65 get { return (ILookupParameter<DoubleValue>)Parameters[NegativeLogPseudoLikelihoodParameterName]; } 62 66 } 63 67 public ILookupParameter<BoolValue> ScaleInputValuesParameter { … … 86 90 Parameters.Add(new LookupParameter<RealVector>(HyperparameterGradientsParameterName, "The gradients of the hyperparameters for the produced Gaussian process model (necessary for hyperparameter optimization)")); 87 91 Parameters.Add(new LookupParameter<DoubleValue>(NegativeLogLikelihoodParameterName, "The negative log-likelihood of the produced Gaussian process model given the data.")); 92 Parameters.Add(new LookupParameter<DoubleValue>(NegativeLogPseudoLikelihoodParameterName, "The leave-one-out-cross-validation negative log pseudo-likelihood of the produced Gaussian process model given the data.")); 88 93 89 94 … … 100 105 Parameters[ScaleInputValuesParameterName].Hidden = true; 101 106 } 107 if (!Parameters.ContainsKey(NegativeLogPseudoLikelihoodParameterName)) { 108 Parameters.Add(new LookupParameter<DoubleValue>(NegativeLogPseudoLikelihoodParameterName, 109 "The leave-one-out-cross-validation negative log pseudo-likelihood of the produced Gaussian process model given the data.")); 110 } 102 111 } 103 112 }
Note: See TracChangeset
for help on using the changeset viewer.