lifetimes icon indicating copy to clipboard operation
lifetimes copied to clipboard

Lifetime value in Python

Results 113 lifetimes issues
Sort by recently updated
recently updated
newest added

I tried this on several different standard transactional datasets, and all gave the same error, which seems to be due to pandas/scipy incompatibility. The traceback is below, but it's a...

[Original Paper](http://brucehardie.com/papers/bgnbd_2004-04-20.pdf) How are the values of 4.82 and 11.99 are derived on page 13?

Hi, I am working on customer churn prediction using the mbg/nbd model. I tried the model on two datasets with different observation periods. One dataset has data of 77 days...

Since there are several variants later despite of four models listed in the package. For example, the hierarchical bayes extension to Pareto/NBD model, which can leverage MCMC to estimate individual...

new feature suggestion

Pandas Period objects are slow to `groupby`: https://github.com/pandas-dev/pandas/issues/18053 Fix by using `dt.to_period` and converting to strings before `groupby`.

code improvement

Hello, I have a similar issue of [https://github.com/CamDavidsonPilon/lifetimes/issues/252] but I'm using a BG/NDB model. I tried different penalised values between 0.001 and 1 with a step of 0.001 evaluating for...

I'm running the following code in a local Jupyter Notebook. [https://github.com/susanli2016/Machine-Learning-with-Python/blob/master/CLV_Online_Retail.ipynb](https://github.com/susanli2016/Machine-Learning-with-Python/blob/master/CLV_Online_Retail.ipynb ) I had an issue with `Matplotlib` after installing Lifetimes and had to reinstall via Conda. The code all...

use case

Hi, I just followed the tutorial of [towardsdatascience.com:](https://towardsdatascience.com/whats-a-customer-worth-8daf183f8a4f) At the point: ``` bgf = BetaGeoFitter(penalizer_coef=0.001) bgf.fit(data['frequency'], data['recency'], data['T']) ``` I am running into a strange error: > (...)python3.7/site-packages/lifetimes/fitters/beta_geo_fitter.py", line 143,...

Thanks for this great library. Super useful. I could not see the decay effect on "being alive probability". E.g : If CLV for 1 year is 100x, for the second...

Hi, I think the plotting function won't work correctly. It doesn't show the plot, so I added "plt.show" to my repo and it did work