-
-
Notifications
You must be signed in to change notification settings - Fork 272
unhashable type: 'dict' in Bayesian regression with truncated or censored data #399
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Thanks for reporting. What versions of pymc and aesara are you using? |
Thanks for the reply. My PyMC and aesara version are
|
Instead of |
Do you want to send a PR to update and rerun the notebook @computbiolgeek? |
Changing logp_fn = m.logp
logp_censored_fn = m_censored.logp to logp_fn = m.compile_logp()
logp_censored_fn = m_censored.compile_logp() did resolve the error. Thank you so much! I typed up everything from scratch and did not clone the notebook. Let me know if a PR is still needed. Thanks! |
I confirm the code in the notebook still needs to be updated |
Bayesian regression with truncated or censored data:
Notebook url:
Issue description
Running the following chunk of code in the corresponding notebook
gave a TypeError
Expected output
The figure below the above chunk of code, as shown in the notebook.
Proposed solution
No solution yet. Looked the signature of
m.logp
, which suggests that a list should be passed as an argument, but had no idea how to achieve that.The text was updated successfully, but these errors were encountered: