google-meridian 1.0.0__py3-none-any.whl → 1.0.2__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: google-meridian
3
- Version: 1.0.0
3
+ Version: 1.0.2
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:
@@ -215,7 +215,7 @@ Classifier: Programming Language :: Python :: 3
215
215
  Classifier: Programming Language :: Python :: 3 :: Only
216
216
  Classifier: Topic :: Other/Nonlisted Topic
217
217
  Classifier: Topic :: Scientific/Engineering :: Information Analysis
218
- Requires-Python: >=3.10
218
+ Requires-Python: >=3.11
219
219
  Description-Content-Type: text/markdown
220
220
  License-File: LICENSE
221
221
  Requires-Dist: arviz
@@ -223,11 +223,11 @@ Requires-Dist: altair<5,>=4.2.0
223
223
  Requires-Dist: immutabledict
224
224
  Requires-Dist: joblib
225
225
  Requires-Dist: numpy<2,>=1.26
226
- Requires-Dist: pandas<2,>=1.5.3
226
+ Requires-Dist: pandas<3,>=2.2
227
227
  Requires-Dist: scipy<1.13,>=1.12.0
228
- Requires-Dist: tensorflow<2.17,>=2.16
229
- Requires-Dist: tensorflow-probability<0.25,>=0.24
230
- Requires-Dist: tf-keras<2.17,>=2.16
228
+ Requires-Dist: tensorflow<3,>=2.18
229
+ Requires-Dist: tensorflow-probability<1,>=0.25
230
+ Requires-Dist: tf-keras<3,>=2.18
231
231
  Requires-Dist: xarray
232
232
  Provides-Extra: dev
233
233
  Requires-Dist: pytest>=8.0.0; extra == "dev"
@@ -236,6 +236,8 @@ Requires-Dist: pylint>=2.6.0; extra == "dev"
236
236
  Requires-Dist: pyink; extra == "dev"
237
237
  Provides-Extra: colab
238
238
  Requires-Dist: psutil; extra == "colab"
239
+ Provides-Extra: and-cuda
240
+ Requires-Dist: tensorflow[and-cuda]<3,>=2.18; extra == "and-cuda"
239
241
 
240
242
  # About Meridian
241
243
 
@@ -271,16 +273,43 @@ you understand the differences between these MMM projects.
271
273
  Python 3.11 or 3.12 is required to use Meridian. We also recommend using a
272
274
  minimum of 1 GPU.
273
275
 
274
- Note: This project has been tested on V100 and T4 GPU using 16 GB of RAM.
276
+ Note: This project has been tested on T4 GPU using 16 GB of RAM.
275
277
 
276
- To install Meridian, run the following command to automatically install the most
277
- recent version from GitHub. The installer also verifies that enough GPU is
278
- available.
278
+ To install Meridian, run the following command to automatically install the
279
+ latest release from PyPI.
280
+
281
+ For GPU users (requires CUDA toolchain to already be installed in the system):
282
+
283
+ ```sh
284
+ $ pip install --upgrade google-meridian[and-cuda]
285
+ ```
286
+
287
+ For CPU users:
288
+
289
+ ```sh
290
+ $ pip install --upgrade google-meridian
291
+ ```
292
+
293
+ Alternatively, run the following command to install the most recent, unreleased
294
+ version from GitHub.
295
+
296
+ For GPU users (requires CUDA toolchain to already be installed in the system):
297
+
298
+ ```sh
299
+ $ pip install --upgrade "google-meridian[and-cuda] @ git+https://github.com/google/meridian.git"
300
+ ```
301
+
302
+ For CPU users:
279
303
 
280
304
  ```sh
281
305
  $ pip install --upgrade git+https://github.com/google/meridian.git
282
306
  ```
283
307
 
308
+ We recommend to install Meridian in a fresh
309
+ [virtual environment](https://virtualenv.pypa.io/en/latest/user_guide.html#quick-start)
310
+ to make sure that correct versions of all the dependencies are installed, as
311
+ defined in [pyproject.toml](https://github.com/google/meridian/blob/main/pyproject.toml).
312
+
284
313
  ## How to use the Meridian library
285
314
 
286
315
  To get started with Meridian, you can run the code programmatically using sample
@@ -352,12 +381,13 @@ this.
352
381
 
353
382
  To cite this repository:
354
383
 
355
- ```
384
+ <!-- mdlint off(SNIPPET_INVALID_LANGUAGE) -->
385
+ ```BibTeX
356
386
  @software{meridian_github,
357
387
  author = {Google Meridian Marketing Mix Modeling Team},
358
388
  title = {Meridian: Marketing Mix Modeling},
359
389
  url = {https://github.com/google/meridian},
360
- version = {1.0.0},
390
+ version = {1.0.1},
361
391
  year = {2025},
362
392
  }
363
393
  ```
@@ -1,13 +1,13 @@
1
- meridian/__init__.py,sha256=rRHZlFk3Ex9pcH03GPBa4TbelriQt5tBgUnN57Ebc-s,714
2
- meridian/constants.py,sha256=AjjTg_R4gEE0q4G_WiytEeWLxLowEeSBTfocQIN73i0,14547
1
+ meridian/__init__.py,sha256=GpnSFxjujblcbzsep2cfvOVj7b9IdxFMOpNNPcLvDOI,714
2
+ meridian/constants.py,sha256=PhQX3S0b-Odv_bjl1YaO6vnLT4rBomiAcec0789VZNE,14599
3
3
  meridian/analysis/__init__.py,sha256=-FooDZ5OzePpyTVkvRoWQx_xBaRR_hjVLny9H8-kkyQ,836
4
- meridian/analysis/analyzer.py,sha256=_5t2qhIXtIRpqil5-eIyIBrF0Yfc3S6LALcX6zsSPzE,194736
4
+ meridian/analysis/analyzer.py,sha256=I08vm0wkpvwGYb_MpJFb3nh6uIVqGGkIjtOmvTYWml0,204803
5
5
  meridian/analysis/formatter.py,sha256=WpV9O_SznsSfJmx36V8nycXOA1g2nhZ9J5sm7kZ_QIQ,6821
6
- meridian/analysis/optimizer.py,sha256=PKq9d9DdYHi9Ct6Kui8xy16TMQ26AlQGbmhEIIeXyug,71584
6
+ meridian/analysis/optimizer.py,sha256=4e-SN6WMqBzaEgWDB0sok91N_v5gCdhXfFVyH5f4OWI,72365
7
7
  meridian/analysis/summarizer.py,sha256=jzkmUNUy3lztPFcSj6XzGsmx39FqdmmsDzZ_G-g9Idk,17480
8
8
  meridian/analysis/summary_text.py,sha256=wHdETMdnYiZn2wf5LfHzzcGbJMjTAI5GmYnketeJnU0,11469
9
- meridian/analysis/test_utils.py,sha256=OyqsY1JCISeMSekfEIsafx-t1CcFqZGkKJPeUjWBiT8,71595
10
- meridian/analysis/visualizer.py,sha256=sRAN1hSCUPLXxSZvz6yljY4cKxriIGZKD22KcjL_LZE,79634
9
+ meridian/analysis/test_utils.py,sha256=WImpYOt5wLjhi8NczcxCvqSHRikTLvm1yli4o5DYzKE,77258
10
+ meridian/analysis/visualizer.py,sha256=uvh30-H41iPchiPxOxy7nWZILQN0BBAAgM_W5dfPIcE,79637
11
11
  meridian/analysis/templates/card.html.jinja,sha256=pv4MVbQ25CcvtZY-LH7bFW0OSeHobkeEkAleB1sfQ14,1284
12
12
  meridian/analysis/templates/chart.html.jinja,sha256=_qs-ENY44p780q1iaGPHmuWQ9Dh6zmqxsNOJI4hpzW4,1033
13
13
  meridian/analysis/templates/chips.html.jinja,sha256=Az0tQwF_-b03JDLyOzpeH-8fb-6jgJgbNfnUUSm-q6E,645
@@ -18,7 +18,7 @@ meridian/analysis/templates/style.scss,sha256=nSrZOpcIrVyiL4eC9jLUlxIZtAKZ0Rt8pw
18
18
  meridian/analysis/templates/summary.html.jinja,sha256=LuENVDHYIpNo4pzloYaCR2K9XN1Ow6_9oQOcOwD9nGg,1707
19
19
  meridian/analysis/templates/table.html.jinja,sha256=mvLMZx92RcD2JAS2w2eZtfYG-6WdfwYVo7pM8TbHp4g,1176
20
20
  meridian/data/__init__.py,sha256=kOFhM9V59VLEo0eCd0w-Y5_hh4kpu1-Wes3xrxtEGKU,736
21
- meridian/data/input_data.py,sha256=6F3WytS6wpiO2wsWuemetvZ10Wd9NB33vtf4qqZg4UU,30837
21
+ meridian/data/input_data.py,sha256=9EPFM04X9bfwmE6pBUdvJjuK6D582waTpOnvIKT23Dc,30848
22
22
  meridian/data/load.py,sha256=7pcA4UCIMC6ZUsfuqws4hGwf4tZD0jcIHajk8Fmn0Rg,54478
23
23
  meridian/data/test_utils.py,sha256=YqxsxHJ2KKhgqTc7MlHNRabUGuQ0_USNNdo8ZfUKecM,51454
24
24
  meridian/data/time_coordinates.py,sha256=9brnWS6ElR8EPyFgiornPsnnkADEDEn55UwDfTzy9GA,9132
@@ -27,11 +27,11 @@ meridian/model/adstock_hill.py,sha256=b_YYhqci6ndgi602FFXmx2f12ceC4N0tp338nMMtm5
27
27
  meridian/model/knots.py,sha256=r7PPaJM96d5pkoOeV9crIOgkM0-rh24mWMvypMiV4aQ,8054
28
28
  meridian/model/media.py,sha256=Gjr4jm0y_6pFy7aa_oKIuuZ8P7F56e3ZB-3o6msApeA,11876
29
29
  meridian/model/model.py,sha256=y7KxKADR0i9JiTLOAeTRXF8mg2DBDb615B4oG-wEpK4,79228
30
- meridian/model/prior_distribution.py,sha256=38EYf6HIeMwFz1cvQBxb7Dt9MIddv-IWf59Nre1iLV0,39051
30
+ meridian/model/prior_distribution.py,sha256=6fqx_XIM0DSQICd65XaSRhelsjvZ4ariBfeyOeoKld8,39075
31
31
  meridian/model/spec.py,sha256=xaHxfCLWLnWMAkMy2ouDoqGBHI_4tzzX8AaJOsKdu7Q,8878
32
32
  meridian/model/transformers.py,sha256=te3OJixprWLtv7O00a9GZWE4waTS94NNLVo3tWIl1-k,7420
33
- google_meridian-1.0.0.dist-info/LICENSE,sha256=WNHhf_5RCaeuKWyq_K39vmp9F28LxKsB4SpomwSZ2L0,11357
34
- google_meridian-1.0.0.dist-info/METADATA,sha256=EzF3AdER89t3NBUncb-3hTHsHAhvXO0tvD-4bhv8p48,21032
35
- google_meridian-1.0.0.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
36
- google_meridian-1.0.0.dist-info/top_level.txt,sha256=nwaCebZvvU34EopTKZsjK0OMTFjVnkf4FfnBN_TAc0g,9
37
- google_meridian-1.0.0.dist-info/RECORD,,
33
+ google_meridian-1.0.2.dist-info/LICENSE,sha256=WNHhf_5RCaeuKWyq_K39vmp9F28LxKsB4SpomwSZ2L0,11357
34
+ google_meridian-1.0.2.dist-info/METADATA,sha256=FFnLbYEFI0KLKPdozkeaMn4NmMGhPTmXTzi64q170T0,21904
35
+ google_meridian-1.0.2.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
36
+ google_meridian-1.0.2.dist-info/top_level.txt,sha256=nwaCebZvvU34EopTKZsjK0OMTFjVnkf4FfnBN_TAc0g,9
37
+ google_meridian-1.0.2.dist-info/RECORD,,
meridian/__init__.py CHANGED
@@ -14,7 +14,7 @@
14
14
 
15
15
  """Meridian API."""
16
16
 
17
- __version__ = "1.0.0"
17
+ __version__ = "1.0.2"
18
18
 
19
19
 
20
20
  from meridian import analysis