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 definitely isn't a high priority issue, but I'd love to understand what's going on if anyone has ideas!
This might be an issue with my understanding of sample_prior_predictive, but the fact that the behavior for Normal and MvNormal are not consistent suggests that it actually is a bug. Basically, it seems like MvNormal doesn't seem to condition properly on the sampled variables that it depends on (probably something to do with draw_values, but I don't really understand what happens under the hood well enough to know what!).
In the first line, I'm surprised that the samples of d are all nan because it doesn't seem like there's anything wrong with the syntax, but the other results all seem right. But then the real issue is that I would expect the second line to return two numbers of order 1, but instead we're getting the sum of two random variables with sigmas of 1 and 100. This means that the mean of the MvNormal is not being conditioned properly/consistently with the actual samples being generated. The PGM looks fine:
So I expect that the issue is in the sampling, not the model specification.
Let me know if you have any ideas about what's going on here!
Versions and main components
PyMC3 Version: GitHub master (3.8)
Theano Version: 1.0.4
Python Version: 3.7.5
Operating system: Mac
How did you install PyMC3: pip
The text was updated successfully, but these errors were encountered:
* Made sample_shape same across all contexts, thereby resolves#3758
* Pass the failing test
* Worked on suggestions
* Used to_tuple for size
* Given a mention in release notes
* Update RELEASE-NOTES.md
Co-authored-by: Thomas Wiecki <[email protected]>
This definitely isn't a high priority issue, but I'd love to understand what's going on if anyone has ideas!
This might be an issue with my understanding of
sample_prior_predictive
, but the fact that the behavior forNormal
andMvNormal
are not consistent suggests that it actually is a bug. Basically, it seems likeMvNormal
doesn't seem to condition properly on the sampled variables that it depends on (probably something to do withdraw_values
, but I don't really understand what happens under the hood well enough to know what!).In the following example:
I get the following output:
In the first line, I'm surprised that the samples of
d
are allnan
because it doesn't seem like there's anything wrong with the syntax, but the other results all seem right. But then the real issue is that I would expect the second line to return two numbers of order 1, but instead we're getting the sum of two random variables with sigmas of 1 and 100. This means that the mean of theMvNormal
is not being conditioned properly/consistently with the actual samples being generated. The PGM looks fine:So I expect that the issue is in the sampling, not the model specification.
Let me know if you have any ideas about what's going on here!
Versions and main components
The text was updated successfully, but these errors were encountered: