Engine#

class liesel.goose.engine.Engine(seeds, model_states, kernel_sequence, epoch_configs, jitted_sample_duration, model, position_keys, minimize_transition_infos=False, store_kernel_states=False, quantity_generators=[], show_progress=True)[source]#

Bases: object

MCMC engine capable of combining multiple transition kernels.

Methods

append_epoch(epoch)

Appends an epoch to the epochs that should be sampled.

get_results()

Returns the results of the sampling process.

is_sampling_done()

Returns true if all configured epochs have been sampled.

sample_all_epochs()

Runs sampling for all remaining epochs.

sample_next_epoch()

Runs sampling for the next epoch assuming no epoch is active.

Attributes

current_epoch

Returns the current epoch.