Bayesian marketing toolbox in PyMC. Media Mix (MMM), customer lifetime value (CLV), buy-till-you-die (BTYD) models and more.
-
Updated
Oct 23, 2026 - Python
Bayesian marketing toolbox in PyMC. Media Mix (MMM), customer lifetime value (CLV), buy-till-you-die (BTYD) models and more.
The main purpose of this repository is to model and forecast customer lifetime value.
Buy-till-you-die models for a non-contractual business, in Python that installs. Four dependencies, Python 3.11+, published estimates reproduced in CI.
Customer Lifetime Value prediction comparing probabilistic BTYD models and machine learning for revenue forecasting and customer prioritization.
Who comes back, what they're worth over the next six months, and where a retention budget should go. Cohorts, MBG/NBD + Gamma-Gamma CLV, budget optimisation, Power BI.
Measuring Customer Lifetime Value through Buy Till You Die (BTYD) model
Bayesian Commercial Decision Engine: Google Meridian MMM, SHAP explainability, BG/NBD Customer Lifetime Value, and distributed Apache Spark churn pipelines.
To associate your repository with the btyd topic, visit your repo's landing page and select "manage topics."