-
Notifications
You must be signed in to change notification settings - Fork 32
Open
Description
Looking for help with this error. This is coming up at the end of my code running.
I think the error stems from the italicized section of the code:
from ipyparallel import Client
v = Client()[0:4]
jobs = v.map(HDDMRun_Dep_z,range(4))
wait_watching_stdout(jobs)
Code = jobs.get()
**# Bring all of the jobs together
comb_models_z = kabuki.utils.concat_models(Code)
# Test convergence using Rhat
from kabuki.analyze import gelman_rubin
gelman_rubin(Code)
# Print the stats
comb_models_z.print_stats()**
The error:
Traceback (most recent call last):
File "<ipython-input-5-3d910990c922>", line 152, in <module>
gelman_rubin(Code)
File "/home/.../python3.6/site-packages/kabuki/analyze.py", line 150, in gelman_rubin
R_hat_dict[name] = pm.diagnostics.gelman_rubin(samples)
**AttributeError: module 'pymc' has no attribute 'diagnostics'**
Metadata
Metadata
Assignees
Labels
No labels