ProposalBasedSampler#
- class cuqi.sampler.ProposalBasedSampler(target, proposal=None, scale=1, x0=None, dim=None, **kwargs)#
- __init__(target, proposal=None, scale=1, x0=None, dim=None, **kwargs)#
Methods
__init__
(target[, proposal, scale, x0, dim])sample
(N[, Nb])sample_adapt
(N[, Nb])step
(x)Perform a single MCMC step
step_tune
(x, *args, **kwargs)Perform a single MCMC step and tune the sampler.
tune
()Tune the sampler parameters.
Attributes