lifetimes
lifetimes copied to clipboard
Lifetime value in Python
I would like a graph / chart that is `recency` in the X axis and `probability still alive` on the Y axis. But instead of it being a given customer,...
Hi, I have 2 questions, please help me with some guidance: 1. **How to read `bgf.summary`? what does each column and row mean?** coef | se(coef) | lower 95% bound...
The documentation describes `frequency` as the number of time periods containing repeat purchases. I'm converting transactional SQL data to RFM so frequency in my case is `count(distinct date(date_trans)) - 1...
customer_lifetime_value: type of time field should be an int not a float (see gamma_gamma_fitter.py)
Gamma_gamma_fitter.py:customer_lifetime_value() does not appear to handle fractional values of time (months). The type declaration for customer_lifetime_value in gamma_gamma_fitter is time as float. This time field will be used to invoke...
Hi everyone, somebody knows if there is a way to find the optimal penalizer coef ?? something like a gridsearch ??? I know that there is a way plotting the...
My understanding of penalizers is that they are intended to drive models from higher complexity to lower complexity and also have the benefit of avoiding overfitting. In this theoretical context...
How should I specify the weights argument when fitting a model. For example what should be the weights array if I have the following data. Here, Count is the number...
Running this ``` from lifetimes.plotting import plot_frequency_recency_matrix _, ax = plt.subplots(1, 1, figsize=(10, 8)) plot_frequency_recency_matrix(bgf); ``` on a `bgf` with parameters `lifetimes.BetaGeoFitter: fitted with 2556392 subjects, a: 0.40, alpha: 50.16,...
So, I want to calculate `p_alive` for every transaction date of the customer history. I see the `calculate_alive_path()` function gives the output but I have a problem in giving the...
Hello, I was exploring some models and everything seems to go well when I use the model inside the environment. But when I try to save the model and load...