Skip to content

Commit d6a3289

Browse files
committed
precommit again✨
1 parent 00bd4e5 commit d6a3289

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

examples/case_studies/hierarchical_partial_pooling.ipynb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"metadata": {},
66
"source": [
77
":::{post} Oct 07, 2021\n",
8-
":tags: hierarchical model\n",
8+
":tags: hierarchical model, pymc3.Beta, pymc3.Binomial, pymc3.Deterministic, pymc3.Exponential, pymc3.Model, pymc3.Uniform\n",
99
":category: intermediate\n",
1010
":::"
1111
]
@@ -65,12 +65,12 @@
6565
}
6666
],
6767
"source": [
68-
"import theano.tensor as tt\n",
6968
"import arviz as az\n",
7069
"import matplotlib.pyplot as plt\n",
7170
"import numpy as np\n",
7271
"import pandas as pd\n",
7372
"import pymc3 as pm\n",
73+
"import theano.tensor as tt\n",
7474
"\n",
7575
"%matplotlib inline"
7676
]
@@ -135,7 +135,7 @@
135135
"outputs": [],
136136
"source": [
137137
"N = len(hits)\n",
138-
"player_names = data['FirstName'] + ' ' + data['LastName']\n",
138+
"player_names = data[\"FirstName\"] + \" \" + data[\"LastName\"]\n",
139139
"coords = {\"player_names\": player_names.tolist()}\n",
140140
"\n",
141141
"with pm.Model(coords=coords) as baseball_model:\n",

0 commit comments

Comments
 (0)