ParetoNBDModel.fit#

ParetoNBDModel.fit(fit_method='map', **kwargs)[source]#

Infer posteriors of model parameters to run predictions.

Parameters:
fit_methodstr

Method used to fit the model. Options are:

  • “map”: Posterior point estimates via Maximum a Posteriori (default)

  • “mcmc”: Full posterior distributions via No U-Turn Sampler (NUTS)

kwargsdict

Other keyword arguments passed to the underlying PyMC routines