pymc.backends.zarr.ZarrTrace.to_inferencedata#
- ZarrTrace.to_inferencedata(save_warmup=False, eager=False)[source]#
Convert
ZarrTracetoDataTreewith arviz attributes.This converts all the groups in the
ZarrTrace.roothierarchy into anDataTreeobject with the arviz inference library attributes applied. The only exception is that_sampling_stateis excluded.- Parameters:
Notes
xarrayand in turnarvizrequire the zarr groups to have consolidated metadata. Seeto_datatree()for more details.