-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Shape issue when prior predictive sampling from ZeroInflatedPoisson #3310
Comments
CC @lucianopaz |
theta and psi are scalars but when we draw 5000 samples from their distribution, we get them as 1D arrays of shape |
This is kind of a recurrent problem that we face with distributions that inside of their |
…ps broadcasting multiple rvs calls with different size and distribution parameter shapes. Added shape guards to other continuous distributions.
* Fixed #3310. Added broadcast_distribution_samples, which helps broadcasting multiple rvs calls with different size and distribution parameter shapes. Added shape guards to other continuous distributions. * Fixed broken continuous distributions. Did not notice that _random got a parameter shape aware size input thanks to generate_samples. * Fixed lint error * Addressed comments
The text was updated successfully, but these errors were encountered: