ExactMarginalLogLikelihood and MLE estimation #1601
Replies: 1 comment 2 replies
-
Sorry, I'm not sure exactly what you mean by this. The marginal log likelihood objects are primarily used for hyperparameter optimization via Type II MLE. You can also add a prior distribution over the hyperparameters, in which case the hyperparameters will be optimized w.r.t the MAP objective. If you do not register any priors on any of the hyperparameters, this line does nothing.
We're assuming that a reasonable prior is put on the hyperparameters. You can also put the prior on a deterministic transform of the priors using the |
Beta Was this translation helpful? Give feedback.
-
Hi everyone, I was recently reading the source code for ExactMarginalLogLikelihood and noticed this part of the code:
gpytorch/gpytorch/mlls/exact_marginal_log_likelihood.py
Lines 41 to 43 in 405f0bd
I am most likely misunderstanding this, but shouldn't the marginal log-likelihood not contain the prior contribution into account? It seems like the ExactMarginalLogLikelihood shouldn't be used for maximum likelihood estimation; is this correct?
Another question that I had was that shouldn't this prior term also have a Jacobian contribution since one can place prior on arbitrary transformations of the hyperparameters?
Sorry if the answer is obvious! I'm still exploring how the library works :)
Beta Was this translation helpful? Give feedback.
All reactions