Skip to content

Commit 55dd7bb

Browse files
author
Chris Fonnesbeck
committed
Merge pull request #958 from x2apps/ElemwiseCategorical-var2vars
Update ElemwiseCategorical with vars=[category]
2 parents 27157a8 + 3b7f6ab commit 55dd7bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pymc3/examples/gaussian_mixture_model.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@
147147
"# fit model\n",
148148
"with model:\n",
149149
" step1 = pm.Metropolis(vars=[p, sd, means])\n",
150-
" step2 = pm.ElemwiseCategoricalStep(var=category, values=[0, 1, 2])\n",
150+
" step2 = pm.ElemwiseCategoricalStep(vars=[category], values=[0, 1, 2])\n",
151151
" tr = pm.sample(10000, step=[step1, step2])"
152152
]
153153
},

0 commit comments

Comments
 (0)