pymc.backends.base.MultiTrace.get_sampler_stats#

MultiTrace.get_sampler_stats(stat_name, burn=0, thin=1, combine=True, chains=None, squeeze=True)[source]#

Get sampler statistics from the trace.

Parameters
stat_name: str
sampler_idx: int or None
burn: int
thin: int
Returns
If the sampler_idx is specified, return the statistic with
the given name in a numpy array. If it is not specified and there
is more than one sampler that provides this statistic, return
a numpy array of shape (m, n), where m is the number of
such samplers, and n is the number of samples.