Skip to content

Commit

Permalink
Merge branch 'main' into broken-link-scanner
Browse files Browse the repository at this point in the history
  • Loading branch information
wd60622 authored Nov 5, 2024
2 parents 5870345 + eb80ddb commit 461a892
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 7 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/slow-tests-issue.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ jobs:
update-comment:
runs-on: ubuntu-latest
steps:
- name: Install ZSH
run: sudo apt-get update && sudo apt-get install -y zsh
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Python
Expand All @@ -21,6 +23,7 @@ jobs:
python-version: "3.11"
- name: Trigger the script
working-directory: scripts/slowest_tests
shell: zsh {0}
run: source update-slowest-times-issue.sh
env:
GITHUB_TOKEN: ${{ github.token }}
3 changes: 1 addition & 2 deletions docs/source/notebooks/mmm/mmm_example.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,6 @@
"import matplotlib.pyplot as plt\n",
"import numpy as np\n",
"import pandas as pd\n",
"import pymc as pm\n",
"import seaborn as sns\n",
"\n",
"from pymc_marketing.mmm import MMM, GeometricAdstock, LogisticSaturation\n",
Expand Down Expand Up @@ -6422,7 +6421,7 @@
}
],
"source": [
"pm.model_to_graphviz(model=mmm.model)"
"mmm.graphviz()"
]
},
{
Expand Down
6 changes: 3 additions & 3 deletions docs/source/notebooks/mmm/mmm_lift_test.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -1211,7 +1211,7 @@
}
],
"source": [
"pm.model_to_graphviz(mmm.model)"
"mmm.graphviz()"
]
},
{
Expand Down Expand Up @@ -1430,7 +1430,7 @@
"source": [
"mmm.add_lift_test_measurements(df_lift_test)\n",
"\n",
"pm.model_to_graphviz(mmm.model)"
"mmm.graphviz()"
]
},
{
Expand Down Expand Up @@ -2077,7 +2077,7 @@
"source": [
"mmm.add_lift_test_measurements(df_additional_lift_test, name=\"more_lift_measurements\")\n",
"\n",
"pm.model_to_graphviz(mmm.model)"
"mmm.graphviz()"
]
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -707,7 +707,7 @@
],
"source": [
"# Model to graphiz\n",
"pm.model_to_graphviz(dummy_mmm.model)"
"dummy_mmm.graphviz()"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion scripts/slowest_tests/update-slowest-times-issue.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/bin/zsh

DRY_RUN=false

Expand Down

0 comments on commit 461a892

Please sign in to comment.