GammaGammaModelIndividual.expected_customer_spend#
- GammaGammaModelIndividual.expected_customer_spend(data)#
Compute the expected future mean spend value per customer.
The computations are based on Eq 5 from [1], p.3.
Adapted from: CamDavidsonPilon/lifetimes
- data~pandas.DataFrame
DataFrame containing the following columns:
customer_id
: Unique customer identifierfrequency
: Number of transactions observed for each customermonetary_value
: Mean transaction value of repeat purchases for each customer
References
[1]Fader, P. S., & Hardie, B. G. (2013). “The Gamma-Gamma model of monetary value”. February, 2, 1-9. https://www.brucehardie.com/notes/025/gamma_gamma.pdf