google-meridian 1.0.0__tar.gz → 1.0.2__tar.gz
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.
- {google_meridian-1.0.0/google_meridian.egg-info → google_meridian-1.0.2}/PKG-INFO +42 -12
- {google_meridian-1.0.0 → google_meridian-1.0.2}/README.md +34 -6
- {google_meridian-1.0.0 → google_meridian-1.0.2/google_meridian.egg-info}/PKG-INFO +42 -12
- {google_meridian-1.0.0 → google_meridian-1.0.2}/google_meridian.egg-info/requires.txt +7 -4
- {google_meridian-1.0.0 → google_meridian-1.0.2}/meridian/__init__.py +1 -1
- {google_meridian-1.0.0 → google_meridian-1.0.2}/meridian/analysis/analyzer.py +244 -61
- {google_meridian-1.0.0 → google_meridian-1.0.2}/meridian/analysis/optimizer.py +32 -14
- {google_meridian-1.0.0 → google_meridian-1.0.2}/meridian/analysis/test_utils.py +394 -120
- {google_meridian-1.0.0 → google_meridian-1.0.2}/meridian/analysis/visualizer.py +15 -13
- {google_meridian-1.0.0 → google_meridian-1.0.2}/meridian/constants.py +2 -0
- {google_meridian-1.0.0 → google_meridian-1.0.2}/meridian/data/input_data.py +2 -2
- {google_meridian-1.0.0 → google_meridian-1.0.2}/meridian/model/prior_distribution.py +4 -4
- {google_meridian-1.0.0 → google_meridian-1.0.2}/pyproject.toml +10 -5
- {google_meridian-1.0.0 → google_meridian-1.0.2}/LICENSE +0 -0
- {google_meridian-1.0.0 → google_meridian-1.0.2}/MANIFEST.in +0 -0
- {google_meridian-1.0.0 → google_meridian-1.0.2}/google_meridian.egg-info/SOURCES.txt +0 -0
- {google_meridian-1.0.0 → google_meridian-1.0.2}/google_meridian.egg-info/dependency_links.txt +0 -0
- {google_meridian-1.0.0 → google_meridian-1.0.2}/google_meridian.egg-info/top_level.txt +0 -0
- {google_meridian-1.0.0 → google_meridian-1.0.2}/meridian/analysis/__init__.py +0 -0
- {google_meridian-1.0.0 → google_meridian-1.0.2}/meridian/analysis/formatter.py +0 -0
- {google_meridian-1.0.0 → google_meridian-1.0.2}/meridian/analysis/summarizer.py +0 -0
- {google_meridian-1.0.0 → google_meridian-1.0.2}/meridian/analysis/summary_text.py +0 -0
- {google_meridian-1.0.0 → google_meridian-1.0.2}/meridian/analysis/templates/card.html.jinja +0 -0
- {google_meridian-1.0.0 → google_meridian-1.0.2}/meridian/analysis/templates/chart.html.jinja +0 -0
- {google_meridian-1.0.0 → google_meridian-1.0.2}/meridian/analysis/templates/chips.html.jinja +0 -0
- {google_meridian-1.0.0 → google_meridian-1.0.2}/meridian/analysis/templates/insights.html.jinja +0 -0
- {google_meridian-1.0.0 → google_meridian-1.0.2}/meridian/analysis/templates/stats.html.jinja +0 -0
- {google_meridian-1.0.0 → google_meridian-1.0.2}/meridian/analysis/templates/style.scss +0 -0
- {google_meridian-1.0.0 → google_meridian-1.0.2}/meridian/analysis/templates/summary.html.jinja +0 -0
- {google_meridian-1.0.0 → google_meridian-1.0.2}/meridian/analysis/templates/table.html.jinja +0 -0
- {google_meridian-1.0.0 → google_meridian-1.0.2}/meridian/data/__init__.py +0 -0
- {google_meridian-1.0.0 → google_meridian-1.0.2}/meridian/data/load.py +0 -0
- {google_meridian-1.0.0 → google_meridian-1.0.2}/meridian/data/test_utils.py +0 -0
- {google_meridian-1.0.0 → google_meridian-1.0.2}/meridian/data/time_coordinates.py +0 -0
- {google_meridian-1.0.0 → google_meridian-1.0.2}/meridian/model/__init__.py +0 -0
- {google_meridian-1.0.0 → google_meridian-1.0.2}/meridian/model/adstock_hill.py +0 -0
- {google_meridian-1.0.0 → google_meridian-1.0.2}/meridian/model/knots.py +0 -0
- {google_meridian-1.0.0 → google_meridian-1.0.2}/meridian/model/media.py +0 -0
- {google_meridian-1.0.0 → google_meridian-1.0.2}/meridian/model/model.py +0 -0
- {google_meridian-1.0.0 → google_meridian-1.0.2}/meridian/model/spec.py +0 -0
- {google_meridian-1.0.0 → google_meridian-1.0.2}/meridian/model/transformers.py +0 -0
- {google_meridian-1.0.0 → google_meridian-1.0.2}/setup.cfg +0 -0
- {google_meridian-1.0.0 → google_meridian-1.0.2}/setup.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.2
|
|
2
2
|
Name: google-meridian
|
|
3
|
-
Version: 1.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.
|
|
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
|
|
226
|
+
Requires-Dist: pandas<3,>=2.2
|
|
227
227
|
Requires-Dist: scipy<1.13,>=1.12.0
|
|
228
|
-
Requires-Dist: tensorflow<
|
|
229
|
-
Requires-Dist: tensorflow-probability<0.25
|
|
230
|
-
Requires-Dist: tf-keras<
|
|
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
|
|
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
|
|
277
|
-
|
|
278
|
-
|
|
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.
|
|
390
|
+
version = {1.0.1},
|
|
361
391
|
year = {2025},
|
|
362
392
|
}
|
|
363
393
|
```
|
|
@@ -32,16 +32,43 @@ you understand the differences between these MMM projects.
|
|
|
32
32
|
Python 3.11 or 3.12 is required to use Meridian. We also recommend using a
|
|
33
33
|
minimum of 1 GPU.
|
|
34
34
|
|
|
35
|
-
Note: This project has been tested on
|
|
35
|
+
Note: This project has been tested on T4 GPU using 16 GB of RAM.
|
|
36
36
|
|
|
37
|
-
To install Meridian, run the following command to automatically install the
|
|
38
|
-
|
|
39
|
-
|
|
37
|
+
To install Meridian, run the following command to automatically install the
|
|
38
|
+
latest release from PyPI.
|
|
39
|
+
|
|
40
|
+
For GPU users (requires CUDA toolchain to already be installed in the system):
|
|
41
|
+
|
|
42
|
+
```sh
|
|
43
|
+
$ pip install --upgrade google-meridian[and-cuda]
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
For CPU users:
|
|
47
|
+
|
|
48
|
+
```sh
|
|
49
|
+
$ pip install --upgrade google-meridian
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
Alternatively, run the following command to install the most recent, unreleased
|
|
53
|
+
version from GitHub.
|
|
54
|
+
|
|
55
|
+
For GPU users (requires CUDA toolchain to already be installed in the system):
|
|
56
|
+
|
|
57
|
+
```sh
|
|
58
|
+
$ pip install --upgrade "google-meridian[and-cuda] @ git+https://github.com/google/meridian.git"
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
For CPU users:
|
|
40
62
|
|
|
41
63
|
```sh
|
|
42
64
|
$ pip install --upgrade git+https://github.com/google/meridian.git
|
|
43
65
|
```
|
|
44
66
|
|
|
67
|
+
We recommend to install Meridian in a fresh
|
|
68
|
+
[virtual environment](https://virtualenv.pypa.io/en/latest/user_guide.html#quick-start)
|
|
69
|
+
to make sure that correct versions of all the dependencies are installed, as
|
|
70
|
+
defined in [pyproject.toml](https://github.com/google/meridian/blob/main/pyproject.toml).
|
|
71
|
+
|
|
45
72
|
## How to use the Meridian library
|
|
46
73
|
|
|
47
74
|
To get started with Meridian, you can run the code programmatically using sample
|
|
@@ -113,12 +140,13 @@ this.
|
|
|
113
140
|
|
|
114
141
|
To cite this repository:
|
|
115
142
|
|
|
116
|
-
|
|
143
|
+
<!-- mdlint off(SNIPPET_INVALID_LANGUAGE) -->
|
|
144
|
+
```BibTeX
|
|
117
145
|
@software{meridian_github,
|
|
118
146
|
author = {Google Meridian Marketing Mix Modeling Team},
|
|
119
147
|
title = {Meridian: Marketing Mix Modeling},
|
|
120
148
|
url = {https://github.com/google/meridian},
|
|
121
|
-
version = {1.0.
|
|
149
|
+
version = {1.0.1},
|
|
122
150
|
year = {2025},
|
|
123
151
|
}
|
|
124
152
|
```
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.2
|
|
2
2
|
Name: google-meridian
|
|
3
|
-
Version: 1.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.
|
|
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
|
|
226
|
+
Requires-Dist: pandas<3,>=2.2
|
|
227
227
|
Requires-Dist: scipy<1.13,>=1.12.0
|
|
228
|
-
Requires-Dist: tensorflow<
|
|
229
|
-
Requires-Dist: tensorflow-probability<0.25
|
|
230
|
-
Requires-Dist: tf-keras<
|
|
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
|
|
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
|
|
277
|
-
|
|
278
|
-
|
|
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.
|
|
390
|
+
version = {1.0.1},
|
|
361
391
|
year = {2025},
|
|
362
392
|
}
|
|
363
393
|
```
|
|
@@ -3,13 +3,16 @@ altair<5,>=4.2.0
|
|
|
3
3
|
immutabledict
|
|
4
4
|
joblib
|
|
5
5
|
numpy<2,>=1.26
|
|
6
|
-
pandas<2
|
|
6
|
+
pandas<3,>=2.2
|
|
7
7
|
scipy<1.13,>=1.12.0
|
|
8
|
-
tensorflow<
|
|
9
|
-
tensorflow-probability<0.25
|
|
10
|
-
tf-keras<
|
|
8
|
+
tensorflow<3,>=2.18
|
|
9
|
+
tensorflow-probability<1,>=0.25
|
|
10
|
+
tf-keras<3,>=2.18
|
|
11
11
|
xarray
|
|
12
12
|
|
|
13
|
+
[and-cuda]
|
|
14
|
+
tensorflow[and-cuda]<3,>=2.18
|
|
15
|
+
|
|
13
16
|
[colab]
|
|
14
17
|
psutil
|
|
15
18
|
|