Skip to content

base

Shared machinery for the BlackJAX SMC sampler modes.

_BlackJAXSMCBase holds everything that doesn't depend on which of the four SMC modes (adaptive/fixed temperature schedule x persistent/tempered resampling) a concrete sampler implements: construction, checkpoint validation, the mutation and its history. Each mode's own module (adaptive_persistent, fixed_persistent, adaptive_tempered, fixed_tempered) implements _run/get_samples/_get_diagnostics.