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.
Functions
Alternative deserializer that recursively handles all nested parameters. |
|
|
Check if the data is a dictionary representing a Prior (alternative check). |
Classes
|
A Laplace prior parameterized by a location and a scale parameter. |
|
Lognormal prior parameterized by positive-scale mean and std. |
|
Create variables from a prior over only the active entries of a boolean mask. |
|
A base class for specialized priors. |