pymc.step_methods.Slice#
- class pymc.step_methods.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, ...])- Parameters:
Slice.astep
(apoint)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
A list containing <=1 dictionary that maps stat names to dtypes.
stats_dtypes_shapes
Maps stat names to dtypes and shapes.
vars
Variables that the step method is assigned to.