pymc.backends.base.BaseTrace.record#

BaseTrace.record(draw, stats, *, in_warmup)#

Record results of a sampling iteration.

Parameters:
draw: dict

Values mapped to variable names

stats: list of dicts

The diagnostic values for each sampler

in_warmup: bool

Whether this draw belongs to the warmup phase. This is a driver-owned concept and is intended for storage/backends to persist warmup information.