ParetoNBDModel.fit#
- ParetoNBDModel.fit(method='map', fit_method=None, **kwargs)[source]#
Infer posteriors of model parameters to run predictions.
- Parameters:
- method
str
Method used to fit the model. Options are:
“map”: Posterior point estimates via Maximum a Posteriori (default).
“demz”: Full posterior distributions via DEMetropolisZ.
“mcmc”: Full posterior distributions via No U-Turn Sampler (NUTS). This can be very slow.
- kwargs
dict
Other keyword arguments passed to the underlying PyMC routines
- method