Skip to content

Latest commit

 

History

History
95 lines (63 loc) · 2.55 KB

marginal_log_likelihoods.rst

File metadata and controls

95 lines (63 loc) · 2.55 KB

gpytorch.mlls

These are modules to compute (or approximate/bound) the marginal log likelihood (MLL) of the GP model when applied to data. I.e., given a GP f ∼ 𝒢𝒫(μ, K), and data X, y, these modules compute/approximate


ℒ = pf(y​∣​X) = ∫p(y​∣​f(X)) p(f(X)​∣​Xdf

This is computed exactly when the GP inference is computed exactly (e.g. regression w/ a Gaussian likelihood). It is approximated/bounded for GP models that use approximate inference.

These models are typically used as the "loss" functions for GP models (though note that the output of these functions must be negated for optimization).

gpytorch.mlls

gpytorch.mlls

Exact GP Inference

These are MLLs for use with ~gpytorch.models.ExactGP modules. They compute the MLL exactly.

ExactMarginalLogLikelihood

ExactMarginalLogLikelihood

LeaveOneOutPseudoLikelihood

LeaveOneOutPseudoLikelihood

Approximate GP Inference

These are MLLs for use with ~gpytorch.models.ApproximateGP modules. They are designed for when exact inference is intractable (either when the likelihood is non-Gaussian likelihood, or when there is too much data for an ExactGP model).

VariationalELBO

VariationalELBO

PredictiveLogLikelihood

PredictiveLogLikelihood

GammaRobustVariationalELBO

GammaRobustVariationalELBO

DeepApproximateMLL

DeepApproximateMLL

Modifications to Objective Functions

AddedLossTerm

InducingPointKernelAddedLossTerm

InducingPointKernelAddedLossTerm

KLGaussianAddedLossTerm

KLGaussianAddedLossTerm