arviz_base.MCMCAdapter#
- class arviz_base.MCMCAdapter(mcmc)[source]#
Adapter for MCMC to standardize attributes and methods with other inference objects.
- __init__(mcmc)[source]#
Initialize MCMC adapter from fitted MCMC object.
- Parameters:
- mcmc
numpyro.infer.MCMC Fitted MCMC object with completed sampling.
- mcmc
Methods
__init__(mcmc)Initialize MCMC adapter from fitted MCMC object.
get_sample_stats(**kwargs)Get sample stats from the inference object (e.g., divergences for MCMC).
get_samples([seed])Get posterior samples from the inference object.
Attributes
sample_dimsReturn the sample dimension names.