pymc.Slice#
- class pymc.Slice(*args, **kwargs)[source]#
Univariate slice sampler step method.
- Parameters
- vars: list
List of value variables for sampler.
- w: float
Initial width of slice (Defaults to 1).
- tune: bool
Flag for tuning (Defaults to True).
- model: PyMC Model
Optional model for sampling step. Defaults to None (taken from context).
Methods
Slice.__init__
([vars, w, tune, model, ...])Slice.astep
(apoint, *args)Perform a single sample step in a raveled and concatenated parameter space.
Slice.competence
(var, has_grad)Slice.step
(point)Perform a single step of the sampler.
Attributes
default_blocked
name
stats_dtypes
vars