Errors using sample_posterior_predictive #264
-
I'm not positive if this is the right place for this (or if I should open an issue), but I'm encountering errors when trying to get the sample_posterior_predictive to work. Below is a reproducible example (fails on both 3.9.17 and 3.10.12, output is from the latter): import hssm
hssm.set_floatX("float32")
v_true, a_true, z_true, t_true = [0.5, 1.5, 0.5, 0.5]
dataset = hssm.simulate_data(
model="ddm",
theta=[v_true, a_true, z_true, t_true],
size=1000,
)
simple_ddm_model = hssm.HSSM(data=dataset)
simple_ddm_model.sample()
simple_ddm_model.sample_posterior_predictive() The last line outputs the following two exceptions:
I'm new to both hssm and hddm (loving hssm so far!) so it's definitely possible that my inexperience is making me miss something obvious |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi Paul, Thanks for letting us know about this! It does seem to be a bug on our end. We will look into it and hopefully fix it in our next update |
Beta Was this translation helpful? Give feedback.
Hi Paul,
Thanks for letting us know about this! It does seem to be a bug on our end. We will look into it and hopefully fix it in our next update