google-meridian 1.2.0__py3-none-any.whl → 1.3.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (45) hide show
  1. {google_meridian-1.2.0.dist-info → google_meridian-1.3.0.dist-info}/METADATA +10 -10
  2. google_meridian-1.3.0.dist-info/RECORD +62 -0
  3. meridian/analysis/__init__.py +2 -0
  4. meridian/analysis/analyzer.py +280 -142
  5. meridian/analysis/formatter.py +2 -2
  6. meridian/analysis/optimizer.py +353 -169
  7. meridian/analysis/review/__init__.py +20 -0
  8. meridian/analysis/review/checks.py +721 -0
  9. meridian/analysis/review/configs.py +110 -0
  10. meridian/analysis/review/constants.py +40 -0
  11. meridian/analysis/review/results.py +544 -0
  12. meridian/analysis/review/reviewer.py +186 -0
  13. meridian/analysis/summarizer.py +14 -12
  14. meridian/analysis/templates/chips.html.jinja +12 -0
  15. meridian/analysis/test_utils.py +27 -5
  16. meridian/analysis/visualizer.py +45 -50
  17. meridian/backend/__init__.py +698 -55
  18. meridian/backend/config.py +75 -16
  19. meridian/backend/test_utils.py +127 -1
  20. meridian/constants.py +52 -11
  21. meridian/data/input_data.py +7 -2
  22. meridian/data/test_utils.py +5 -3
  23. meridian/mlflow/autolog.py +2 -2
  24. meridian/model/__init__.py +1 -0
  25. meridian/model/adstock_hill.py +10 -9
  26. meridian/model/eda/__init__.py +3 -0
  27. meridian/model/eda/constants.py +21 -0
  28. meridian/model/eda/eda_engine.py +1580 -84
  29. meridian/model/eda/eda_outcome.py +200 -0
  30. meridian/model/eda/eda_spec.py +84 -0
  31. meridian/model/eda/meridian_eda.py +220 -0
  32. meridian/model/knots.py +56 -50
  33. meridian/model/media.py +10 -8
  34. meridian/model/model.py +79 -16
  35. meridian/model/model_test_data.py +53 -9
  36. meridian/model/posterior_sampler.py +398 -391
  37. meridian/model/prior_distribution.py +114 -39
  38. meridian/model/prior_sampler.py +146 -90
  39. meridian/model/spec.py +7 -8
  40. meridian/model/transformers.py +16 -8
  41. meridian/version.py +1 -1
  42. google_meridian-1.2.0.dist-info/RECORD +0 -52
  43. {google_meridian-1.2.0.dist-info → google_meridian-1.3.0.dist-info}/WHEEL +0 -0
  44. {google_meridian-1.2.0.dist-info → google_meridian-1.3.0.dist-info}/licenses/LICENSE +0 -0
  45. {google_meridian-1.2.0.dist-info → google_meridian-1.3.0.dist-info}/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: google-meridian
3
- Version: 1.2.0
3
+ Version: 1.3.0
4
4
  Summary: Google's open source mixed marketing model library, helps you understand your return on investment and direct your ad spend with confidence.
5
5
  Author-email: The Meridian Authors <no-reply@google.com>
6
6
  License:
@@ -225,9 +225,9 @@ Requires-Dist: joblib
225
225
  Requires-Dist: natsort<8,>=7.1.1
226
226
  Requires-Dist: numpy<3,>=2.0.2
227
227
  Requires-Dist: pandas<3,>=2.2.2
228
- Requires-Dist: patsy<0.5.4,>=0.5.3
228
+ Requires-Dist: patsy<1,>=0.5.3
229
229
  Requires-Dist: scipy<2,>=1.13.1
230
- Requires-Dist: statsmodels>=0.12.2
230
+ Requires-Dist: statsmodels>=0.14.5
231
231
  Requires-Dist: tensorflow<2.19,>=2.18
232
232
  Requires-Dist: tensorflow-probability<0.26,>=0.25
233
233
  Requires-Dist: tf-keras<2.19,>=2.18
@@ -247,7 +247,7 @@ Requires-Dist: mlflow; extra == "mlflow"
247
247
  Provides-Extra: jax
248
248
  Requires-Dist: jax==0.4.26; extra == "jax"
249
249
  Requires-Dist: jaxlib==0.4.26; extra == "jax"
250
- Requires-Dist: tensorflow-probability[substrates-jax]<0.26,>=0.25; extra == "jax"
250
+ Requires-Dist: tensorflow-probability[substrates-jax]==0.25.0; extra == "jax"
251
251
  Dynamic: license-file
252
252
 
253
253
  # About Meridian
@@ -267,7 +267,7 @@ own in-house models. Meridian helps you answer key questions such as:
267
267
  * How do I optimize my marketing budget allocation for the future?
268
268
 
269
269
  Meridian is a highly customizable modeling framework that is based on
270
- [Bayesian causal inference](https://developers.google.com/meridian/docs/basics/bayesian-inference).
270
+ [Bayesian causal inference](https://developers.google.com/meridian/docs/causal-inference/bayesian-inference).
271
271
  It is capable of handling large scale geo-level data, which is encouraged if
272
272
  available, but it can also be used for national-level modeling. Meridian
273
273
  provides clear insights and visualizations to inform business decisions around
@@ -357,19 +357,19 @@ started quickly with using Meridian:
357
357
  | [Reference list][10] | White papers and other referenced material. |
358
358
 
359
359
  [1]: https://developers.google.com/meridian
360
- [2]: https://developers.google.com/meridian/docs/basics/about-the-project
360
+ [2]: https://developers.google.com/meridian/docs/basics/meridian-introduction
361
361
  [3]: https://developers.google.com/meridian/notebook/meridian-getting-started
362
362
  [4]: https://developers.google.com/meridian/docs/user-guide/installing
363
- [5]: https://developers.google.com/meridian/docs/user-guide/collect-data
363
+ [5]: https://developers.google.com/meridian/docs/pre-modeling/collect-data
364
364
  [6]: https://developers.google.com/meridian/docs/advanced-modeling/control-variables
365
- [7]: https://developers.google.com/meridian/docs/advanced-modeling/model-fit
365
+ [7]: https://developers.google.com/meridian/docs/post-modeling/model-fit
366
366
  [8]: https://developers.google.com/meridian/docs/migrate
367
367
  [9]: https://developers.google.com/meridian/reference/api/meridian
368
368
  [10]: https://developers.google.com/meridian/docs/reference-list
369
369
 
370
370
  ## Support
371
371
 
372
- **Questions about methodology**: Please see the [Modeling](https://developers.google.com/meridian/docs/basics/about-the-project) tab in the technical documentation.
372
+ **Questions about methodology**: Please see the [Modeling](https://developers.google.com/meridian/docs/basics/meridian-introduction) tab in the technical documentation.
373
373
 
374
374
  **Issues installing or using Meridian**: Feel free to post questions in the
375
375
  [Discussions](https://github.com/google/meridian/discussions) or [Issues](https://github.com/google/meridian/issues) tabs of the Meridian GitHub repository. The Meridian team responds to
@@ -403,7 +403,7 @@ To cite this repository:
403
403
  author = {Google Meridian Marketing Mix Modeling Team},
404
404
  title = {Meridian: Marketing Mix Modeling},
405
405
  url = {https://github.com/google/meridian},
406
- version = {1.2.0},
406
+ version = {1.3.0},
407
407
  year = {2025},
408
408
  }
409
409
  ```
@@ -0,0 +1,62 @@
1
+ google_meridian-1.3.0.dist-info/licenses/LICENSE,sha256=WNHhf_5RCaeuKWyq_K39vmp9F28LxKsB4SpomwSZ2L0,11357
2
+ meridian/__init__.py,sha256=0fOT5oNZF7-pbiWWGUefV-ysafttieG079m1ijMFQO8,861
3
+ meridian/constants.py,sha256=ZmMIoJDFQvKIOVG9oPOQ7Cj16wt4HDS5fCPBrz_KiLE,20308
4
+ meridian/version.py,sha256=PmfWvor_VonhwnCn2anG7FaY2z7fcdLbE_3OeBHekCg,644
5
+ meridian/analysis/__init__.py,sha256=NWDhtRkKs-n66C6746rXT7Wk8tLdkrT9NDvuPG_B_5c,874
6
+ meridian/analysis/analyzer.py,sha256=EUKoN69EEz4vt4BpyRvrwEoHt7eLZ8UM6emNe14Tbj0,219975
7
+ meridian/analysis/formatter.py,sha256=AN2M4jdUV88XjNdi5-dK_mITES1J1Dk3Zs7DYo3OTKg,7290
8
+ meridian/analysis/optimizer.py,sha256=RX8HXSUi-tvLSjzF2OIbXQT3pMT75PzA5Y0xK6PPE_I,126277
9
+ meridian/analysis/summarizer.py,sha256=7hHBf2Bj0lKqamg7DGvaKIuCf06CSsPPhDM2wKsXUPk,19035
10
+ meridian/analysis/summary_text.py,sha256=I_smDkZJYp2j77ea-9AIbgeraDa7-qUYyb-IthP2qO4,12438
11
+ meridian/analysis/test_utils.py,sha256=aZq88pxtpMHwhcpfYz8nHhR0Alhi_OvgS9qBR4LBgO0,78346
12
+ meridian/analysis/visualizer.py,sha256=1vjX3XQF_BoXEGDUS4o2GheZQ5c0VGdHuc-nXySnpsY,94091
13
+ meridian/analysis/review/__init__.py,sha256=cF24EbhiVSs-tvtRf59uVin39tu6aCTTCaeEdv6ISZ8,804
14
+ meridian/analysis/review/checks.py,sha256=CBBZ0uNN91b_0H9DGdbDRVdiTRI4D7xptLCq_gK5WAI,25002
15
+ meridian/analysis/review/configs.py,sha256=5JJ8v6n22GNBmE78xNX6jwdjkZz2qar4Q9YTcVqzcoI,3653
16
+ meridian/analysis/review/constants.py,sha256=bL-se2BFfRxPr3F0Rfpdy7d8s3idMoaka_t6hN1K3Sc,1369
17
+ meridian/analysis/review/results.py,sha256=jsOPohmwozCrx8yt9p7_GiVxGmRDVeAbA8W48MUfAPA,16168
18
+ meridian/analysis/review/reviewer.py,sha256=BcfmqHjp-30iZBlrzWfXDN1IJU-UIjINxZ7lsrj5Mts,6675
19
+ meridian/analysis/templates/card.html.jinja,sha256=pv4MVbQ25CcvtZY-LH7bFW0OSeHobkeEkAleB1sfQ14,1284
20
+ meridian/analysis/templates/chart.html.jinja,sha256=87i0xnXHRBoLLxBpKv2i960TLToWq4r1aVQZqaXIeMQ,1086
21
+ meridian/analysis/templates/chips.html.jinja,sha256=t-ovn-2pcPCn1ev1VtSaSC3W7QxSy_iAO_L5-p68mdg,1030
22
+ meridian/analysis/templates/insights.html.jinja,sha256=6hEWipbOMiMzs9QGZ6dcB_73tNkj0ZtNiC8E89a98zg,606
23
+ meridian/analysis/templates/stats.html.jinja,sha256=9hQOG02FX1IHVIvdWS_-LI2bbSaqdyHEtCZkiArwAg0,772
24
+ meridian/analysis/templates/style.css,sha256=RODTWc2pXcG9zW3q9SEJpVXgeD-WwQgzLpmFcbXPhLg,5492
25
+ meridian/analysis/templates/style.scss,sha256=nSrZOpcIrVyiL4eC9jLUlxIZtAKZ0Rt8pwfk4H1nMrs,5076
26
+ meridian/analysis/templates/summary.html.jinja,sha256=LuENVDHYIpNo4pzloYaCR2K9XN1Ow6_9oQOcOwD9nGg,1707
27
+ meridian/analysis/templates/table.html.jinja,sha256=mvLMZx92RcD2JAS2w2eZtfYG-6WdfwYVo7pM8TbHp4g,1176
28
+ meridian/backend/__init__.py,sha256=EzsRE_E3tmxNkRPuNannz6Ro0IddvEXaNZ365GG5X8o,34341
29
+ meridian/backend/config.py,sha256=B9VQnhBfg9RW04GNbt7F5uCugByenoJzt-keFLLYEp8,3561
30
+ meridian/backend/test_utils.py,sha256=XyYZ61o7fRCQq6rX75eON9AudvPHHdWzxHYK8_dJJvE,7753
31
+ meridian/data/__init__.py,sha256=StIe-wfYnnbfUbKtZHwnAQcRQUS8XCZk_PCaEzw90Ww,929
32
+ meridian/data/arg_builder.py,sha256=Kqlt88bOqFj6D3xNwvWo4MBwNwcDFHzd-wMfEOmLoPU,3741
33
+ meridian/data/data_frame_input_data_builder.py,sha256=_hexZMFAuAowgo6FaOGElHSFHqhGnHQwEEBcwnT3zUE,27295
34
+ meridian/data/input_data.py,sha256=Qlxm4El6h1SRPsWDqZoKkOcMtrjiRWr3z8sU2mtghRA,43151
35
+ meridian/data/input_data_builder.py,sha256=tbZjVXPDfmtndVyJA0fmzGzZwZb0RCEjXOTXb-ga8Nc,25648
36
+ meridian/data/load.py,sha256=X2nmYCC-7A0RUgmdolTqCt0TD3NEZabQ5oGv-TugE00,40129
37
+ meridian/data/nd_array_input_data_builder.py,sha256=lfpmnENGuSGKyUd7bDGAwoLqHqteOKmHdKl0VI2wCQA,16341
38
+ meridian/data/test_utils.py,sha256=mw-QPTP15oXf32I7cxMe8iSFBLB3seqEiITZMTz_Eg8,59838
39
+ meridian/data/time_coordinates.py,sha256=C5A5fscSLjPH6G9YT8OspgIlCrkMY7y8dMFEt3tNSnE,9874
40
+ meridian/mlflow/__init__.py,sha256=elwXUqPQYi7VF9PYjelU1tydfcUrmtuoq6eJCOnV9bk,693
41
+ meridian/mlflow/autolog.py,sha256=SZsrynLjozcyrAFCNWiqchSa2yOszVnwFBGz23BmWUU,6379
42
+ meridian/model/__init__.py,sha256=mhF5VkRxvwamRa_0AihgbFuXLMueRCK-Je_ZZvU5IFw,1013
43
+ meridian/model/adstock_hill.py,sha256=HoRKjyL03pCTBz6Utof9wEvlQCFM43BvrEW_oupj7NU,17688
44
+ meridian/model/knots.py,sha256=87kw5oa3T1k9GgT_aWXTqQx5XCxLsS2w1hnzc581XL0,26677
45
+ meridian/model/media.py,sha256=skjy4Vd8LfDQWlqR_2lJ1qbG9UcS1dow5W45BAu4qk8,14599
46
+ meridian/model/model.py,sha256=jMtfl7woWtJ8M8AX42QeZ5hUS8hlhPdZ-9OU8KahjKA,68984
47
+ meridian/model/model_test_data.py,sha256=s8G1NjAYcF0-nCOPBZp6rxnKMLGdGo97Bg14mKumStE,23359
48
+ meridian/model/posterior_sampler.py,sha256=f3MayglIgBeBjWeXJU_RgT9cCugcjJ3aEjHqaWPsTbg,26806
49
+ meridian/model/prior_distribution.py,sha256=ZArW4uXIPPQL6hRWiGZUzcHktbkjE_vOklvlbp9LR64,57662
50
+ meridian/model/prior_sampler.py,sha256=iLvCefhA4WY0ENcnLK9471WUZPPyzQ1je58MRjxKv74,25460
51
+ meridian/model/spec.py,sha256=VlK6WJiPo2lzOF0O2judtJ6O3uEw7wYL5AT8bioq4gE,19188
52
+ meridian/model/transformers.py,sha256=HxlVJitxP-wu-NOHU0tArFUZ4NAO3c7adAYj4Zvqnvo,8363
53
+ meridian/model/eda/__init__.py,sha256=w3p7ZUZLq5TOEHm8n2P1CWjGrzuNrkqSSnVFdlw17Dk,812
54
+ meridian/model/eda/constants.py,sha256=V9aOHQDvB3WAEyT0NE4gE8rqbStaGVh3XDlBPOKpuLc,739
55
+ meridian/model/eda/eda_engine.py,sha256=5LCOtRSCLZf2ch70SN177UZl00VUWoswS_9Px3xUD9E,63672
56
+ meridian/model/eda/eda_outcome.py,sha256=P-0kNIbNXcyqMaNvFxiL3x6fhtYOL2trw-zPPZGXh5w,5670
57
+ meridian/model/eda/eda_spec.py,sha256=diieYyZH0ee3ZLy0rGFMcWrrgiUrz2HctMwOrmtJR6w,2871
58
+ meridian/model/eda/meridian_eda.py,sha256=GTdBaAtfsHS5s6P5ZESaeh1ElKV_o7dSqQosiMnFBKg,7537
59
+ google_meridian-1.3.0.dist-info/METADATA,sha256=FHLqp_ZLBXWJHpZWW2gdWg8Fy37cUC7qAlsv_-cIrc8,22470
60
+ google_meridian-1.3.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
61
+ google_meridian-1.3.0.dist-info/top_level.txt,sha256=nwaCebZvvU34EopTKZsjK0OMTFjVnkf4FfnBN_TAc0g,9
62
+ google_meridian-1.3.0.dist-info/RECORD,,
@@ -17,5 +17,7 @@
17
17
  from meridian.analysis import analyzer
18
18
  from meridian.analysis import formatter
19
19
  from meridian.analysis import optimizer
20
+ from meridian.analysis import review
20
21
  from meridian.analysis import summarizer
21
22
  from meridian.analysis import visualizer
23
+