model_builder#

Base class responsible of the high level API for model building, fitting saving and loading.

Functions

create_idata_accessor(value, message)

Create a property accessor for an InferenceData object.

create_sample_kwargs(sampler_config, ...)

Create the dictionary of keyword arguments for pm.sample.

Classes

ModelBuilder([model_config, sampler_config])

Base class for building models with PyMC Marketing.

Exceptions

DifferentModelError

Error raised when a model loaded is different than one saved.