special_priors#

Specialized priors that behave like the Prior class.

The Prior class has certain design constraints that prevent it from covering all cases. So this module contains a collection of priors that do not inherit from the Prior class but have many of the same methods.

Classes

LogNormalPrior([dims, centered])

Lognormal prior parameterized by positive-scale mean and std.

MaskedPrior(prior, mask[, active_dim])

Create variables from a prior over only the active entries of a boolean mask.