Skip to content

Commit 3dd693d

Browse files
committed
Added second model_dict to test
1 parent fbf4fc3 commit 3dd693d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pymc3/tests/test_stats.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,9 @@ def test_compare():
8686

8787
traces = [trace0, trace1, trace2]
8888
models = [model0, model1, model2]
89+
90+
model_dict = dict(zip(models, traces))
91+
8992
w_st = pm.compare(model_dict, method='stacking')['weight']
9093
w_bb_bma = pm.compare(model_dict, method='BB-pseudo-BMA')['weight']
9194
w_bma = pm.compare(model_dict, method='pseudo-BMA')['weight']

0 commit comments

Comments
 (0)