Skip to content

Commit dffae87

Browse files
authored
Add link model deployment to example notebook (#904)
* add link model deployment * add pymc-marketing to watermark
1 parent 3eb5407 commit dffae87

File tree

2 files changed

+12
-8
lines changed

2 files changed

+12
-8
lines changed

docs/source/guide/benefits/model_deployment.ipynb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
"id": "7fb27b941602401d91542211134fc71a",
66
"metadata": {},
77
"source": [
8+
"(model_deployment)=\n",
89
"# Model deployment"
910
]
1011
},

docs/source/notebooks/mmm/mmm_example.ipynb

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10302,7 +10302,7 @@
1030210302
"metadata": {},
1030310303
"source": [
1030410304
"## 10. Save Model\n",
10305-
"After your model is train, you can quickly save it using the `save` method."
10305+
"After your model is train, you can quickly save it using the `save` method. For more information about model deployment see {ref}`model_deployment`."
1030610306
]
1030710307
},
1030810308
{
@@ -10316,27 +10316,30 @@
1031610316
},
1031710317
{
1031810318
"cell_type": "code",
10319-
"execution_count": 60,
10319+
"execution_count": 62,
1032010320
"metadata": {},
1032110321
"outputs": [
1032210322
{
1032310323
"name": "stdout",
1032410324
"output_type": "stream",
1032510325
"text": [
10326-
"Last updated: Thu Jun 27 2024\n",
10326+
"The watermark extension is already loaded. To reload it, use:\n",
10327+
" %reload_ext watermark\n",
10328+
"Last updated: Fri Aug 02 2024\n",
1032710329
"\n",
1032810330
"Python implementation: CPython\n",
1032910331
"Python version : 3.12.4\n",
1033010332
"IPython version : 8.25.0\n",
1033110333
"\n",
10332-
"pytensor: 2.22.1\n",
10334+
"pymc_marketing: 0.8.0\n",
10335+
"pytensor : 2.22.1\n",
1033310336
"\n",
10334-
"matplotlib: 3.9.0\n",
10337+
"numpy : 1.26.4\n",
1033510338
"seaborn : 0.13.2\n",
10339+
"matplotlib: 3.9.0\n",
10340+
"pymc : 5.15.1\n",
1033610341
"arviz : 0.18.0\n",
10337-
"numpy : 1.26.4\n",
1033810342
"pandas : 2.2.2\n",
10339-
"pymc : 5.15.1\n",
1034010343
"\n",
1034110344
"Watermark: 2.4.3\n",
1034210345
"\n"
@@ -10345,7 +10348,7 @@
1034510348
],
1034610349
"source": [
1034710350
"%load_ext watermark\n",
10348-
"%watermark -n -u -v -iv -w -p pytensor"
10351+
"%watermark -n -u -v -iv -w -p pymc_marketing,pytensor"
1034910352
]
1035010353
}
1035110354
],

0 commit comments

Comments
 (0)