I’m trying to import HDDM to do drift diffusion modelling for a psychology reaction time experiment.
I’m getting the following AttributeError irrespective of whether I try to install pymc and import hddm on Google Colab OR locally (macOS Monterey v12.1; python version 3.9.12) on JupyterLab desktop.
Any help greatly appreciated!
The code:
!pip install scikit-learnThe error:
AttributeError Traceback (most recent call last)
in ()
6
7 #
----> 8 import hddm
9
10 # Make simulators visible
4 frames
/usr/local/lib/python3.7/dist-packages/kabuki/utils.py in ()
310 return pm.flib.cauchy(x, 0, S) + len(x) * np.log(2)
311
→ 312 HalfCauchy = pm.stochastic_from_dist(name=“Half Cauchy”,
313 random=centered_half_cauchy_rand,
314 logp=centered_half_cauchy_logp,
AttributeError: module ‘pymc’ has no attribute ‘stochastic_from_dist’
--
You received this message because you are subscribed to the Google Groups "hddm-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hddm-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hddm-users/da744687-abf4-4b15-a745-c12c4b91a043n%40googlegroups.com.
