Prior
Abstract specification of a term prior
Usage
Prior(
name,
auto_scale=True,
dist=None,
noncentered=None,
**kwargs,
)Parameters
name: str-
Name of prior distribution. Must be the name of a PyMC distribution (e.g.,
"Normal","Bernoulli", etc.) auto_scale: bool = True-
Whether to adjust the parameters of the prior or use them as passed. Default to
True. dist: pymc.Distribution or callable or None = None-
A callable that returns a valid PyMC distribution. The signature must contain
name,dims, andshape, as well as its own keyworded arguments. noncentered: bool or None = None-
Per-prior override for non-centered parameterization on a group-specific term.
None(default) inheritsModel.noncentered;True/Falseoverrides it. kwargs: dict = {}- Optional keywords specifying the parameters of the named distribution.
Methods
| Name | Description |
|---|---|
| update() | Update the arguments of the prior with additional arguments |
update()
Update the arguments of the prior with additional arguments
Usage
update(**kwargs)Parameters
kwargs: dict = {}- Optional keyword arguments to add to prior args.