Skip to content

Commit 297b419

Browse files
committed
Changed compare arguments to support model-trace dict
1 parent 03bc7ee commit 297b419

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pymc3/stats.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -456,7 +456,7 @@ def _gpinv(p, k, sigma):
456456
return x
457457

458458

459-
def compare(traces, models, ic='WAIC', method='stacking', b_samples=1000,
459+
def compare(model_dict, ic='WAIC', method='stacking', b_samples=1000,
460460
alpha=1, seed=None, round_to=2):
461461
R"""Compare models based on the widely available information criterion (WAIC)
462462
or leave-one-out (LOO) cross-validation.

0 commit comments

Comments
 (0)