Skip to content

Commit 05dc20d

Browse files
committed
update fix
Signed-off-by: Nathaniel <[email protected]>
1 parent 83061e4 commit 05dc20d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

causalpy/variable_selection_priors.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,8 @@ def create_prior(
379379
>>> import pandas as pd
380380
>>> from causalpy.variable_selection_priors import VariableSelectionPrior
381381
>>> vs_prior = VariableSelectionPrior("spike_and_slab")
382-
>>> with pm.Model() as model:
382+
>>> coords = {"features": ["a", "b", "c", "d", "e"]}
383+
>>> with pm.Model(coords=coords) as model:
383384
... beta = vs_prior.create_prior("beta", n_params=4, dims="features")
384385
"""
385386
# Merge instance and call-specific hyperparameters

0 commit comments

Comments
 (0)