We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0377908 commit c6da661Copy full SHA for c6da661
pymc3/stats.py
@@ -584,8 +584,8 @@ def add_warns(*args):
584
warnings.filterwarnings('always')
585
586
ics = []
587
- for c, (m, t) in enumerate(model_dict.items()):
588
- ics.append((c, ic_func(t, m, pointwise=True)))
+ for m, t in model_dict.items():
+ ics.append((m.name, ic_func(t, m, pointwise=True)))
589
590
ics.sort(key=lambda x: x[1][0])
591
@@ -661,6 +661,7 @@ def gradient(w):
661
se = ses[i]
662
weight = weights[i]
663
try:
664
+ import pdb; pdb.set_trace()
665
warn = warns[names.index(idx)]
666
except AttributeError:
667
warn = warns[idx]
0 commit comments