bartz.mcmcloop.TqdmCallbackState

class bartz.mcmcloop.TqdmCallbackState(bar_id, update_every, report_every, accumulator)[source]

State for tqdm_callback.

bar_id: Int32[Array, '']

Handle identifying the bar in the module-level tqdm bar registry.

update_every: Int32[Array, '']

The bar position is refreshed every update_every MCMC iterations.

report_every: Int32[Array, ''] | None

The acceptance statistics are refreshed every report_every MCMC iterations, None to omit them.

accumulator: StatsAccumulator

Running average of the reported statistics, inert unless averaging.