pymc-labs/pymc-marketing
Bayesian marketing toolbox in PyMC. Media Mix (MMM), customer lifetime value (CLV), buy-till-you-die (BTYD) models and more. observed · 2026-09-03
Health v2 · maintenance only
100/100
- Activity 100
- Release rhythm 99
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 18.5
- age_days: 1640
- days_rel: 6
- days_push: 0
- n_releases_24m: 29
Adoption not part of the score
1252 stars · 403 forks observed · 2026-09-03
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-03 · 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 | 100 |
For agents
markdown · JSON · MCP: product_card(name="pymc-labs/pymc-marketing")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem