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
This incorrect value breaks the model, giving an infinite log-probability for the Y variable:
model.check_test_point()
Y -inf
X -2.080000
I'm using the latest development version of PyMC3, on Github.
I checked the code by I don't quite understand what is going on. The default value seems to be derived from the mode, which is in the case of the Categorical is the argmax of the probability vector. But this argmax is not actually computed, what is retrieved is the tag.test_value attribute of the mode tensor variable. I have absolutely no clue as to why this test value gives 8 in this case...
The text was updated successfully, but these errors were encountered:
Because no shape argument is given to the distribution, this is flattened, so that it appears that there are 9 categories, and softmaxed so that it all sums to 1. Hence, 8 does make sense as a default value.
The test values for the Categorical distribution are incorrect:
gives for some strange reason the value:
This incorrect value breaks the model, giving an infinite log-probability for the Y variable:
I'm using the latest development version of PyMC3, on Github.
I checked the code by I don't quite understand what is going on. The default value seems to be derived from the mode, which is in the case of the Categorical is the argmax of the probability vector. But this argmax is not actually computed, what is retrieved is the
tag.test_value
attribute of themode
tensor variable. I have absolutely no clue as to why this test value gives 8 in this case...The text was updated successfully, but these errors were encountered: