Update docstring for prior
@@ -7,7 +7,13 @@ from torch.nn import Module
class Prior(Distribution, Module, ABC):
- """Priors ar imposed on hyperparameters"""
+ """
+ Base class for Priors in GPyTorch.
+ In GPyTorch, a parameter can be assigned a prior by passing it as the `prior` argument to
+ :func:`~gpytorch.module.register_parameter`. GPyTorch performs internal bookkeeping of priors,
+ and for each parameter with a registered prior includes the log probability of the parameter under its
+ respective prior in computing the Marginal Log-Likelihood.
+ """
@property
def log_transform(self):
