BassModel.build_model#
- BassModel.build_model(data=None)[source]#
Build the Bass diffusion model from the given data.
After building, the underlying
pm.Modelis available viaself.model, giving direct access to all PyMC model functionality (e.g.pm.sample_prior_predictive,pm.sample_posterior_predictive).- Parameters:
- dataoptional
Input data in one of the supported formats. If
None, reads fromself.idata.fit_data(used internally bybuild_from_idata()).