Sampler#
- class cuqi.legacy.sampler.Sampler(target, x0=None, dim=None, callback=None)[source]#
-
Methods
__init__(target[, x0, dim, callback])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