pymc.backends.NDArray.get_sampler_stats#

NDArray.get_sampler_stats(stat_name, sampler_idx=None, burn=0, thin=1)#

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.