pymc.step_methods.Metropolis#
- class pymc.step_methods.Metropolis(*args, **kwargs)[source]#
Metropolis-Hastings sampling step.
Methods
Metropolis.__init__
([vars, S, ...])Create an instance of a Metropolis stepper.
Metropolis.astep
(q0)Perform a single sample step in a raveled and concatenated parameter space.
Metropolis.competence
(var, has_grad)Reset the tuned sampler parameters to their initial values.
Metropolis.set_rng
(rng)Metropolis.step
(point)Perform a single step of the sampler.
Attributes
default_blocked
name
sampling_state
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.