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_blockednamesampling_statestats_dtypesA list containing <=1 dictionary that maps stat names to dtypes.
stats_dtypes_shapesMaps stat names to dtypes and shapes.
varsVariables that the step method is assigned to.