- Timestamp:
- 07/10/17 19:16:40 (7 years ago)
- Location:
- trunk/sources/HeuristicLab.Algorithms.DataAnalysis/3.4/GaussianProcess
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Algorithms.DataAnalysis/3.4/GaussianProcess/GaussianProcessModelCreator.cs
r14899 r15187 37 37 private const string ModelParameterName = "Model"; 38 38 private const string NegativeLogLikelihoodParameterName = "NegativeLogLikelihood"; 39 private const string NegativeLogP redictiveProbabilityParameterName = "NegativeLogPredictiveProbability(LOOCV)";39 private const string NegativeLogPseudoLikelihoodParameterName = "NegativeLogPseudoLikelihood (LOOCV)"; 40 40 private const string HyperparameterGradientsParameterName = "HyperparameterGradients"; 41 41 protected const string ScaleInputValuesParameterName = "ScaleInputValues"; … … 62 62 get { return (ILookupParameter<DoubleValue>)Parameters[NegativeLogLikelihoodParameterName]; } 63 63 } 64 public ILookupParameter<DoubleValue> NegativeLogP redictiveProbabilityParameter {65 get { return (ILookupParameter<DoubleValue>)Parameters[NegativeLogP redictiveProbabilityParameterName]; }64 public ILookupParameter<DoubleValue> NegativeLogPseudoLikelihoodParameter { 65 get { return (ILookupParameter<DoubleValue>)Parameters[NegativeLogPseudoLikelihoodParameterName]; } 66 66 } 67 67 public ILookupParameter<BoolValue> ScaleInputValuesParameter { … … 90 90 Parameters.Add(new LookupParameter<RealVector>(HyperparameterGradientsParameterName, "The gradients of the hyperparameters for the produced Gaussian process model (necessary for hyperparameter optimization)")); 91 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>(NegativeLogP redictiveProbabilityParameterName, "The leave-one-out-cross-validation negative log predictive probabilityof 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.")); 93 93 94 94 … … 105 105 Parameters[ScaleInputValuesParameterName].Hidden = true; 106 106 } 107 if (!Parameters.ContainsKey(NegativeLogP redictiveProbabilityParameterName)) {108 Parameters.Add(new LookupParameter<DoubleValue>(NegativeLogP redictiveProbabilityParameterName,109 "The leave-one-out-cross-validation negative log p redictive probabilityof the produced Gaussian process model given the data."));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 110 } 111 111 } -
trunk/sources/HeuristicLab.Algorithms.DataAnalysis/3.4/GaussianProcess/GaussianProcessRegressionModelCreator.cs
r15160 r15187 65 65 ModelParameter.ActualValue = model; 66 66 NegativeLogLikelihoodParameter.ActualValue = new DoubleValue(model.NegativeLogLikelihood); 67 NegativeLogP redictiveProbabilityParameter.ActualValue = new DoubleValue(model.LooCvNegativeLogPseudoLikelihood);67 NegativeLogPseudoLikelihoodParameter.ActualValue = new DoubleValue(model.LooCvNegativeLogPseudoLikelihood); 68 68 HyperparameterGradientsParameter.ActualValue = new RealVector(model.HyperparameterGradients); 69 69 return base.Apply();
Note: See TracChangeset
for help on using the changeset viewer.