You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The _distribution_new_customer internal method was originally written for sampling from the latent purchase and dropout distributions of CLV models. It is even more useful for posterior predictive checks, but is taking 1000 samples for each customer in the dataset, which is quite wasteful.
This can be fixed by simply adding an n_samples parameter to _distribution_new_customer, and a default argument of 1 to the distribution_new_customer_recency_frequency external method. On that note, _distribution_new_customer is unique to each model, but the external methods that call it can probably be moved into CLVBaseModel.
The text was updated successfully, but these errors were encountered:
The
_distribution_new_customer
internal method was originally written for sampling from the latent purchase and dropout distributions ofCLV
models. It is even more useful for posterior predictive checks, but is taking 1000 samples for each customer in the dataset, which is quite wasteful.This can be fixed by simply adding an
n_samples
parameter to_distribution_new_customer
, and a default argument of 1 to thedistribution_new_customer_recency_frequency
external method. On that note,_distribution_new_customer
is unique to each model, but the external methods that call it can probably be moved intoCLVBaseModel
.The text was updated successfully, but these errors were encountered: