pymc.smc.smc.MH#
- class pymc.smc.smc.MH(*args, correlation_threshold=0.01, **kwargs)[source]#
Metropolis-Hastings SMC kernel
Methods
MH.__init__
(*args[, correlation_threshold])- Parameters
Create an initial population from the prior distribution
Metropolis-Hastings perturbation.
Resample particles based on importance weights
Kernel settings to be saved once at the end of sampling
Stats to be saved at the end of each stage
Proposal dist is just a Multivariate Normal with unit identity covariance.
MH.tune
()Update proposal scales for each particle dimension and update number of MH steps
Calculate the next inverse temperature (beta)