arviz.from_pyro

arviz.from_pyro(posterior=None, *, coords=None, dims=None)[source]

Convert pyro data into an InferenceData object.

Parameters:
posterior : pyro.MCMC

Fitted MCMC object from Pyro

coords : dict[str] -> list[str]

Map of dimensions to coordinates

dims : dict[str] -> list[str]

Map variable names to their coordinates