You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am encountering an error when trying to sample from a PyMC model. In the model, I am defining a set of Bernoulli variables with conditional probabilities based on another parent Bernoulli variable A. The model definition itself works fine, but when I attempt to sample and calculate the posterior, I get the following error: AttributeError: 'Scratchpad' object has no attribute 'ufunc'
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I am encountering an error when trying to sample from a PyMC model. In the model, I am defining a set of
Bernoulli
variables with conditional probabilities based on another parentBernoulli
variableA
. The model definition itself works fine, but when I attempt to sample and calculate the posterior, I get the following error:AttributeError: 'Scratchpad' object has no attribute 'ufunc'
Here is the code I am using:
Can anyone help me identify what might be causing this error and suggest a possible solution?
Beta Was this translation helpful? Give feedback.
All reactions