Pymc-marketing

Latest version: v0.12.1

Safety actively analyzes 723359 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 5

0.12.1

<!-- Release notes generated using configuration in .github/release.yml at 0.12.1 -->

What's Changed
New Features 🎉
* Add `sample_prior` to sample from arbitrary VariableFactory by williambdean in https://github.com/pymc-labs/pymc-marketing/pull/1536
* 1553 add transform parameter for HSGP link function by williambdean in https://github.com/pymc-labs/pymc-marketing/pull/1555
* Add `demeaned_basis` flag for HSGP classes by williambdean in https://github.com/pymc-labs/pymc-marketing/pull/1560
* Specify target scaling dimensions by williambdean in https://github.com/pymc-labs/pymc-marketing/pull/1562
* Allow for media scaling settings by williambdean in https://github.com/pymc-labs/pymc-marketing/pull/1573
Bugfixes 🐛
* 1570 target scaled and variable need to be broadcasted with non global scaling by williambdean in https://github.com/pymc-labs/pymc-marketing/pull/1571
Documentation 📖
* MMM Multi-Dimensional Example by juanitorduz in https://github.com/pymc-labs/pymc-marketing/pull/1521
Maintenance 🔧
* Correcting small errors in multidimensional mmm by cetagostini in https://github.com/pymc-labs/pymc-marketing/pull/1551
* remove abstract requirement of data_setter by williambdean in https://github.com/pymc-labs/pymc-marketing/pull/1463


**Full Changelog**: https://github.com/pymc-labs/pymc-marketing/compare/0.12.0...0.12.1

0.12.0

<!-- Release notes generated using configuration in .github/release.yml at main -->

What's Changed
Major Changes 🛠
* excluded _prior suffix from CLV models by arthurmello in https://github.com/pymc-labs/pymc-marketing/pull/1498
Deprecations 🚨
* Rename CLV `fit_method` and `t_unobserved` parameters to `method` and `t_start_eval` by ColtAllen in https://github.com/pymc-labs/pymc-marketing/pull/1537
New Features 🎉
* [MMM] Model events as gaussian bumps by juanitorduz in https://github.com/pymc-labs/pymc-marketing/pull/1465
* Out-of-Box MultiDimensional MMM by cetagostini in https://github.com/pymc-labs/pymc-marketing/pull/1036
* Add basis bumps effect to MMM model by wd60622 in https://github.com/pymc-labs/pymc-marketing/pull/1475
* Allow `plot_expected_purchases_pcc` in `BetaGeoModel` and `ModifiedBetaGeoModel` by PabloRoque in https://github.com/pymc-labs/pymc-marketing/pull/1470
* Allow static covariates in BGNBDModel by PabloRoque in https://github.com/pymc-labs/pymc-marketing/pull/1390
* Support MediaTransformation and MediaConfigList deserialization by wd60622 in https://github.com/pymc-labs/pymc-marketing/pull/1504
* Check for wrong media dims by wd60622 in https://github.com/pymc-labs/pymc-marketing/pull/1505
Bugfixes 🐛
* load bug with y name different than `output_var` by wd60622 in https://github.com/pymc-labs/pymc-marketing/pull/1468
* Fix ModifiedBetaGeoNBDRV sim_data by PabloRoque in https://github.com/pymc-labs/pymc-marketing/pull/1472
* Change Basis sample_curve defaults by wd60622 in https://github.com/pymc-labs/pymc-marketing/pull/1500
* Check for incompatible dims in MediaTranform by wd60622 in https://github.com/pymc-labs/pymc-marketing/pull/1502
* Allow for extra columns in df_events by wd60622 in https://github.com/pymc-labs/pymc-marketing/pull/1501
* Use MediaTransformation dims in save and load by wd60622 in https://github.com/pymc-labs/pymc-marketing/pull/1503
* Fix `_create_synth_dataset` when MMM has no controls by PabloRoque in https://github.com/pymc-labs/pymc-marketing/pull/1513
* Use SoftPlusHSGP in multidimensional HSGP by wd60622 in https://github.com/pymc-labs/pymc-marketing/pull/1510
* Use SoftPlusHSGP directly in MMM class by wd60622 in https://github.com/pymc-labs/pymc-marketing/pull/1523
* Fix SoftPlusHSGP out of sample by wd60622 in https://github.com/pymc-labs/pymc-marketing/pull/1544
Documentation 📖
* Add thin wrapper around advi functionality by PabloRoque in https://github.com/pymc-labs/pymc-marketing/pull/1365
* Added missing paramater take_every in docs of create_log_callback by nayan2167 in https://github.com/pymc-labs/pymc-marketing/pull/1491
* Fixes documentation on mmm control variable scaling - Issue 1469 by zach-brown-18 in https://github.com/pymc-labs/pymc-marketing/pull/1499
* change parameter from samples to draws by wd60622 in https://github.com/pymc-labs/pymc-marketing/pull/1524
* Fix the TVP example by wd60622 in https://github.com/pymc-labs/pymc-marketing/pull/1533
Maintenance 🔧
* add preliz dependency by wd60622 in https://github.com/pymc-labs/pymc-marketing/pull/1507
* Merge value and grad in budget optimizer by ricardoV94 in https://github.com/pymc-labs/pymc-marketing/pull/1512

New Contributors
* zach-brown-18 made their first contribution in https://github.com/pymc-labs/pymc-marketing/pull/1499
* github-actions made their first contribution in https://github.com/pymc-labs/pymc-marketing/pull/1528

**Full Changelog**: https://github.com/pymc-labs/pymc-marketing/compare/0.11.1...0.12.0

0.11.1

<!-- Release notes generated using configuration in .github/release.yml at 0.11.1 -->

What's Changed
Deprecations 🚨
* migrate predict parameter X_pred to X by wd60622 in https://github.com/pymc-labs/pymc-marketing/pull/1450
* Remove parameter methods by wd60622 in https://github.com/pymc-labs/pymc-marketing/pull/1455
New Features 🎉
* MLflow callback logging by wd60622 in https://github.com/pymc-labs/pymc-marketing/pull/1425
* Support xarray in ModelBuilder by wd60622 in https://github.com/pymc-labs/pymc-marketing/pull/1459
* Add WeeklyFourier by PabloRoque in https://github.com/pymc-labs/pymc-marketing/pull/1443
Bugfixes 🐛
* Log model with only pm.Data for likelihood by wd60622 in https://github.com/pymc-labs/pymc-marketing/pull/1423
* 1325 invalid way of calling first element of pdseries by wd60622 in https://github.com/pymc-labs/pymc-marketing/pull/1433
* Remove repeated docs by juanitorduz in https://github.com/pymc-labs/pymc-marketing/pull/1434
* Fix error when budgets_to_optimize are specified by ricardoV94 in https://github.com/pymc-labs/pymc-marketing/pull/1440
* Correcting HSGP to be link to model graph by cetagostini in https://github.com/pymc-labs/pymc-marketing/pull/1452
Documentation 📖
* [DOC] MMM Example Notebook ROAS vs Contribution Share plot by juanitorduz in https://github.com/pymc-labs/pymc-marketing/pull/1436
* improve readme by juanitorduz in https://github.com/pymc-labs/pymc-marketing/pull/1438
* Add current year to Sphinx copyright by PabloRoque in https://github.com/pymc-labs/pymc-marketing/pull/1444
* [DOC] improvement roas efficiency plot. mmm case study by juanitorduz in https://github.com/pymc-labs/pymc-marketing/pull/1437
* Update comparison.md by juanitorduz in https://github.com/pymc-labs/pymc-marketing/pull/1446
Maintenance 🔧
* More flexible type for BudgetOptimizer by ricardoV94 in https://github.com/pymc-labs/pymc-marketing/pull/1429
* Fix minor latex rendering issue by PabloRoque in https://github.com/pymc-labs/pymc-marketing/pull/1449
* Remove predictor_names argument by wd60622 in https://github.com/pymc-labs/pymc-marketing/pull/1458


**Full Changelog**: https://github.com/pymc-labs/pymc-marketing/compare/0.11.0...0.11.1

0.11.0

<!-- Release notes generated using configuration in .github/release.yml at main -->

What's Changed
Major Changes 🛠
* Bump pymc dependency by ricardoV94 in https://github.com/pymc-labs/pymc-marketing/pull/1269
* Budget optimizer refactor by ricardoV94 in https://github.com/pymc-labs/pymc-marketing/pull/1357
New Features 🎉
* add `hdi_list` kwarg to `plot_posterior_predictive` by drbenvincent in https://github.com/pymc-labs/pymc-marketing/pull/1096
* Allow Negative Values in Media Channels by louismagowan in https://github.com/pymc-labs/pymc-marketing/pull/1092
* Add `plot_expected_purchases_over_time` function by ColtAllen in https://github.com/pymc-labs/pymc-marketing/pull/1115
* Beta geo expected probability no purchase by DylanZammit in https://github.com/pymc-labs/pymc-marketing/pull/1094
* Harmonize prior and posterior predictive plots in MMM module by juanitorduz in https://github.com/pymc-labs/pymc-marketing/pull/1170
* Create load_from_idata method by wd60622 in https://github.com/pymc-labs/pymc-marketing/pull/1211
* Add CLV `plot_expected_purchases_ppc` by ColtAllen in https://github.com/pymc-labs/pymc-marketing/pull/1222
* Include tvp scaling in contribution grid by wd60622 in https://github.com/pymc-labs/pymc-marketing/pull/1253
* Make optimization based on the entire posterior and not on the marginal mean parameters. by cetagostini in https://github.com/pymc-labs/pymc-marketing/pull/1151
* HSGP as component by wd60622 in https://github.com/pymc-labs/pymc-marketing/pull/1246
* Add Gradient-Free Fit Method to CLV Models by ColtAllen in https://github.com/pymc-labs/pymc-marketing/pull/1266
* Add `graphviz` method to `ModelBuilder` class by ColtAllen in https://github.com/pymc-labs/pymc-marketing/pull/1284
* Improved Default Priors for `BetaGeoModel` by ColtAllen in https://github.com/pymc-labs/pymc-marketing/pull/1264
* Non-centered ZeroSumNormal Prior support by wd60622 in https://github.com/pymc-labs/pymc-marketing/pull/1290
* Allow non-Prior parameters in Prior and media transformations by wd60622 in https://github.com/pymc-labs/pymc-marketing/pull/1292
* Deserialize arbitrary objects by wd60622 in https://github.com/pymc-labs/pymc-marketing/pull/1296
* Modified Beta Geometric model by PabloRoque in https://github.com/pymc-labs/pymc-marketing/pull/1301
* Allow VariableFactory in FourierBase by aseyboldt in https://github.com/pymc-labs/pymc-marketing/pull/1304
* Add Censored wrapper for Prior class by wd60622 in https://github.com/pymc-labs/pymc-marketing/pull/1309
* Register new media transformations automatically by wd60622 in https://github.com/pymc-labs/pymc-marketing/pull/1320
* Add new `customer_choice` module by drbenvincent in https://github.com/pymc-labs/pymc-marketing/pull/803
* 1314 implement serialization for fourier classes by wd60622 in https://github.com/pymc-labs/pymc-marketing/pull/1315
* Deprecate to/from_json of Prior class in favor of to/from_dict by wd60622 in https://github.com/pymc-labs/pymc-marketing/pull/1338
* Add autologging for CLV models by wd60622 in https://github.com/pymc-labs/pymc-marketing/pull/1354
* Introduce BetaGeoNBD Random Variable by PabloRoque in https://github.com/pymc-labs/pymc-marketing/pull/1317
* MMM Evaluation, Diagnostics and MLFlow Registry by louismagowan in https://github.com/pymc-labs/pymc-marketing/pull/1368
* MLflow logging *before* slow function calls by wd60622 in https://github.com/pymc-labs/pymc-marketing/pull/1393
* Custom optimizer constraints by cetagostini in https://github.com/pymc-labs/pymc-marketing/pull/1358
* Creating Causal Identification module by cetagostini in https://github.com/pymc-labs/pymc-marketing/pull/1166
Bugfixes 🐛
* Fix LinearTrend rending issue by takechanman1228 in https://github.com/pymc-labs/pymc-marketing/pull/1173
* Fix bug in the "Causal Ladder" docs page by drbenvincent in https://github.com/pymc-labs/pymc-marketing/pull/1175
* Solving bug on optimization plot by cetagostini in https://github.com/pymc-labs/pymc-marketing/pull/1174
* patch values stacked plot by juanitorduz in https://github.com/pymc-labs/pymc-marketing/pull/1181
* [FIX] Wrong legend in the posterior predictive plot then we set gradient=True by juanitorduz in https://github.com/pymc-labs/pymc-marketing/pull/1212
* Fix budget allocation plot in case study by juanitorduz in https://github.com/pymc-labs/pymc-marketing/pull/1216
* Raise error when two dims are not compatible by wd60622 in https://github.com/pymc-labs/pymc-marketing/pull/1249
* 1271 predictions=true for sample posterior predictive throws error by wd60622 in https://github.com/pymc-labs/pymc-marketing/pull/1272
* Fix tanh component by aseyboldt in https://github.com/pymc-labs/pymc-marketing/pull/1303
* Enable transform `_sample_curve` to work with `VariableFactory` by lucianopaz in https://github.com/pymc-labs/pymc-marketing/pull/1362
* keep date column in test_scale_lift_measurements by malitsadok1 in https://github.com/pymc-labs/pymc-marketing/pull/1316
* Moved pyprojroot from docs to dependencies by nayan2167 in https://github.com/pymc-labs/pymc-marketing/pull/1417
* Remove sample_posterior_predictive_patch by wd60622 in https://github.com/pymc-labs/pymc-marketing/pull/1414
Documentation 📖
* Expose Streamlit App in Documentation by louismagowan in https://github.com/pymc-labs/pymc-marketing/pull/1091
* Fix typos in MMM Example notebook by wd60622 in https://github.com/pymc-labs/pymc-marketing/pull/1146
* add mention of GPU in documentation by wd60622 in https://github.com/pymc-labs/pymc-marketing/pull/1152
* Update MMM docs to use graphviz method by takechanman1228 in https://github.com/pymc-labs/pymc-marketing/pull/1172
* MMM Case Study Fixes by juanitorduz in https://github.com/pymc-labs/pymc-marketing/pull/1169
* Run sBG with seed by wd60622 in https://github.com/pymc-labs/pymc-marketing/pull/1189
* Fix beta ref mmm by juanitorduz in https://github.com/pymc-labs/pymc-marketing/pull/1194
* Fix minor typos in mmm example notebook by SangamSwadiK in https://github.com/pymc-labs/pymc-marketing/pull/1215
* CLV Quickstart Revisions by ColtAllen in https://github.com/pymc-labs/pymc-marketing/pull/1243
* fix typo and change first lines mood by wd60622 in https://github.com/pymc-labs/pymc-marketing/pull/1254
* Link sBG Notebook in README and Index by ColtAllen in https://github.com/pymc-labs/pymc-marketing/pull/1265
* Update README.md (fix badges) by juanitorduz in https://github.com/pymc-labs/pymc-marketing/pull/1278
* [pre-commit.ci] pre-commit autoupdate by pre-commit-ci in https://github.com/pymc-labs/pymc-marketing/pull/1313
* customer choice: improve plots and harmonize colors by juanitorduz in https://github.com/pymc-labs/pymc-marketing/pull/1322
* Re-run TVP mmm notebook by juanitorduz in https://github.com/pymc-labs/pymc-marketing/pull/1324
* add customer choice to readme by juanitorduz in https://github.com/pymc-labs/pymc-marketing/pull/1326
* sort docs sections by juanitorduz in https://github.com/pymc-labs/pymc-marketing/pull/1327
* Generalize verbiage of installation instructions by wd60622 in https://github.com/pymc-labs/pymc-marketing/pull/1335
* Prior predictive guide by juanitorduz in https://github.com/pymc-labs/pymc-marketing/pull/1334
* hot fix: budget allowcation notebooks by juanitorduz in https://github.com/pymc-labs/pymc-marketing/pull/1389
* Breakout and Document MLflow functions by wd60622 in https://github.com/pymc-labs/pymc-marketing/pull/1396
* Relax the type that is needed for evaluation metric function by wd60622 in https://github.com/pymc-labs/pymc-marketing/pull/1413
* Add CLV Roadmap by ColtAllen in https://github.com/pymc-labs/pymc-marketing/pull/1364
* CLV Documentation Revisions by ColtAllen in https://github.com/pymc-labs/pymc-marketing/pull/1419
Maintenance 🔧
* Remove duplicate attrs/functions from MMM by sreekailash in https://github.com/pymc-labs/pymc-marketing/pull/1336
* Move `fit_result` to `model_builder.py` and remove redundancies from CLV and MMM by sreekailash in https://github.com/pymc-labs/pymc-marketing/pull/1344
* Remove media transformation registration functions by wd60622 in https://github.com/pymc-labs/pymc-marketing/pull/1378
* Add `load_from_idata` method by wd60622 in https://github.com/pymc-labs/pymc-marketing/pull/1379
* Add tests by juanitorduz in https://github.com/pymc-labs/pymc-marketing/pull/1391
* Implement ModifiedBetaGeoNBD and ModifiedBetaGeoNBDRV by PabloRoque in https://github.com/pymc-labs/pymc-marketing/pull/1375

New Contributors
* nhan295 made their first contribution in https://github.com/pymc-labs/pymc-marketing/pull/1114
* DylanZammit made their first contribution in https://github.com/pymc-labs/pymc-marketing/pull/1094
* dependabot made their first contribution in https://github.com/pymc-labs/pymc-marketing/pull/1134
* nataziel made their first contribution in https://github.com/pymc-labs/pymc-marketing/pull/1285
* aseyboldt made their first contribution in https://github.com/pymc-labs/pymc-marketing/pull/1303
* sreekailash made their first contribution in https://github.com/pymc-labs/pymc-marketing/pull/1336
* malitsadok1 made their first contribution in https://github.com/pymc-labs/pymc-marketing/pull/1316
* nayan2167 made their first contribution in https://github.com/pymc-labs/pymc-marketing/pull/1412

**Full Changelog**: https://github.com/pymc-labs/pymc-marketing/compare/0.10.0...0.11.0

0.10.0

<!-- Release notes generated using configuration in .github/release.yml at main -->

What's Changed
New Features 🎉
* 1063 Pareto_nbd distribution enhancements by Ishaanjolly in https://github.com/pymc-labs/pymc-marketing/pull/1067
* 990 - Plot FourierBase along date rather than index by Ishaanjolly in https://github.com/pymc-labs/pymc-marketing/pull/1068
* Add CLV Cumulative Transaction Utlity by ColtAllen in https://github.com/pymc-labs/pymc-marketing/pull/1076
Bugfixes 🐛
* `michaelis_menten` transformation as `pt.TensorVariable` by PabloRoque in https://github.com/pymc-labs/pymc-marketing/pull/1054
Documentation 📖
* comment save notebook in mmm example by juanitorduz in https://github.com/pymc-labs/pymc-marketing/pull/1053
* 1020 Correction of doctring for plot.py for `sample_kwargs` by Ishaanjolly in https://github.com/pymc-labs/pymc-marketing/pull/1060
* remove spend scaling step from budget optimizer by juanitorduz in https://github.com/pymc-labs/pymc-marketing/pull/1070
* added plotting options to plot_posterior_predictive by jsnyde0 in https://github.com/pymc-labs/pymc-marketing/pull/1072
* Docs update: make sure the right title shows up on Google by ulfaslak in https://github.com/pymc-labs/pymc-marketing/pull/1074
* small fixes mm roas notebook by juanitorduz in https://github.com/pymc-labs/pymc-marketing/pull/1083
* New notebook: causal inference with MMM's by drbenvincent in https://github.com/pymc-labs/pymc-marketing/pull/1032
* Polishing the new new causal ladder docs page by drbenvincent in https://github.com/pymc-labs/pymc-marketing/pull/1084
* Fix malformed equation in MMM docstring by wd60622 in https://github.com/pymc-labs/pymc-marketing/pull/1085
* MMM Case Study from PyData Global by juanitorduz in https://github.com/pymc-labs/pymc-marketing/pull/1044
Maintenance 🔧
* 1035 Distribution new customer enhancements by Ishaanjolly in https://github.com/pymc-labs/pymc-marketing/pull/1061
* Deprecate several `pymc_marketing.mmm.utils` functions by PabloRoque in https://github.com/pymc-labs/pymc-marketing/pull/1078
* Automatic labeling of untouched issues by wd60622 in https://github.com/pymc-labs/pymc-marketing/pull/1086

New Contributors
* jsnyde0 made their first contribution in https://github.com/pymc-labs/pymc-marketing/pull/1072

**Full Changelog**: https://github.com/pymc-labs/pymc-marketing/compare/0.9.0...0.10.0

0.9.0

<!-- Release notes generated using configuration in .github/release.yml at 0.9.0 -->

What's Changed
New Features 🎉
* Add user customization to `plot_curve` methods by wd60622 in https://github.com/pymc-labs/pymc-marketing/pull/1018
* Add `BetaGeoBetaBinomModel` by ColtAllen in https://github.com/pymc-labs/pymc-marketing/pull/1031
* MLFlow auto logging by wd60622 https://github.com/pymc-labs/pymc-marketing/pull/921
Documentation 📖
* Enhance MMM intro material by juanitorduz in https://github.com/pymc-labs/pymc-marketing/pull/1017
* Improve landing page by juanitorduz in https://github.com/pymc-labs/pymc-marketing/pull/1023
* simplify dag from mmm notebook by juanitorduz in https://github.com/pymc-labs/pymc-marketing/pull/1046
Maintenance 🔧
* lower bound xarray by juanitorduz in https://github.com/pymc-labs/pymc-marketing/pull/1025
* Mute `Sampling: []` stdout when calling `get_channel_contributions_forward_pass_grid` by PabloRoque in https://github.com/pymc-labs/pymc-marketing/pull/1043


**Full Changelog**: https://github.com/pymc-labs/pymc-marketing/compare/0.8.0...0.9.0

Page 1 of 5

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.