BetaGeoBetaBinomModel.load_from_idata#
- classmethod BetaGeoBetaBinomModel.load_from_idata(idata)#
Create a ModelBuilder instance from an InferenceData object.
This class method has a few steps:
Construct a new instance of the model using the InferenceData attrs
Build the model from the InferenceData
Check if the model id matches the id in the InferenceData loaded.
- Parameters:
- idata
az.InferenceData
The InferenceData object to load the model from.
- idata
- Returns:
ModelBuilder
An instance of the ModelBuilder class.
- Raises:
DifferentModelError
If the model id in the InferenceData does not match the model id built.