lifetimes
lifetimes copied to clipboard
Lifetime value in Python
Dear Sir/Madam, I am studying BG/BB model recently. I did a fitter comparative study notebook using CDNOW as input data. I am attaching the [notebook](https://drive.google.com/open?id=1TMcRTOTAc4GR2yeaS8oETQIf060w32Zl) for your reference. In order...
Hi, first of all I want to say thanks for providing this great library. After reading the papers and a few examples I am not yet sure how to use...
Palive=1
Dear all, I'm using data of last 10 years: customers usually buy 3,4 times in the calibration period. When I calculate the P(alive) I get **P(alive)=1** for almost all customers....
There is a bug in the `calibration_and_holdout_data` function. When running the following code block: ```python from lifetimes.datasets import load_transaction_data from lifetimes.utils import summary_data_from_transaction_data from lifetimes.utils import calibration_and_holdout_data transaction_data = load_transaction_data()...
Hello, I'm working on a project where I'm looking to predict the length of time until next purchase of a given customer. I'm finding this package extremely helpful for this...
In your documentation you suggest this query: ```SQL SELECT customer_id, COUNT(distinct date(transaction_at)) - 1 as frequency, datediff('day', MIN(transaction_at), MAX(transaction_at)) as recency, AVG(total_price) as monetary_value, datediff('day', CURRENT_DATE, MIN(transaction_at)) as T FROM...
When fitting `BetaGeoFitter` with small sample size data, I always get the following message: ```none Desired error not necessarily achieved due to precision loss. ``` Thus resulting in `ConvergenceError`. When...
Hi, Really like the package, and I just wanted to clarify one thing. Looking at the definition of ```summary_data_from_transaction_data()```, is it correct that this effectively ignores the possibility of multiple...
Hello, I am trying to get an estimate of the error / accuracy at a client level. Trying to answer this question: "how good is my prediction?" Is there any...