pymc-labs/pymc-marketing
Some data may be outdated — see provenance labels.
Bayesian marketing toolbox in PyMC. Media Mix (MMM), customer lifetime value (CLV), buy-till-you-die (BTYD) models and more. observed · 2026-09-26
Health v2 · maintenance only
95/100
- Activity 96
- Release rhythm 92
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-10-21. Adoption (stars, forks) is never an input.
- gap_med: 19.5
- age_days: 1688
- days_rel: 54
- days_push: 25
- n_releases_24m: 23
Adoption not part of the score
1265 stars · 417 forks observed · 2026-09-26
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
PyMC-Marketing is a Python library of Bayesian marketing analytics models built on PyMC, including Marketing Mix Modeling (MMM), Customer Lifetime Value (CLV), buy-till-you-die models, customer choice, and incrementality estimation. It is actively maintained by PyMC Labs and distributed under the Apache-2.0 license.
Use cases
- build a marketing mix model to measure channel ROI
- estimate customer lifetime value from transaction data
- fit buy-till-you-die models like BG/NBD for repeat purchases
- run Bayesian media mix modeling for budget allocation
- measure marketing incrementality from experiments
- model customer choice with discrete choice or MaxDiff
- forecast adoption with Bass diffusion models
When to choose
- you want Bayesian MMM or CLV models in Python with PyMC
- you need uncertainty quantification for marketing spend decisions
- you want an open-source, actively maintained alternative to commercial MMM tools
When to avoid
- you need a no-code or hosted marketing analytics dashboard
- you are not comfortable with Bayesian modeling or Python
- you need real-time attribution rather than aggregate modeling
Facets
library · maturity active
machine-learning data-science analytics data-science analytics python bayesian pymc marketing-mix-modeling customer-lifetime-value media-mix-model buy-till-you-die marketing-analytics marketing
2 sources
- readme: https://github.com/pymc-labs/pymc-marketing · fetched 2026-09-26 · 81aeb7bc0168
- registry_pypi: https://pypi.org/pypi/pymc-marketing/json · fetched 2026-08-29 · 37d36497ffee
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| pymc-labs/pymc-marketing | main | 95 |
For agents
markdown · JSON · MCP: product_card(name="pymc-labs/pymc-marketing")
Data as of 2026-10-19T08:05:51.212177+00:00 · Report a problem