-
Notifications
You must be signed in to change notification settings - Fork 7
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
Make Gamma distribution multivariate #358
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for adding this, it seems fairly straightforward so not many comments. I note from the error message that this PR stops short of allowing multivariate Gamma with the conjugate sampler. How big a job would that be?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @nabriis for this fix! I have only 3 comments for your consideration.
Co-authored-by: Jakob Sauer Jørgensen <jakobsj@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the update. LGTM!
Unsure how much effort it would be to support multivariate in conjugate. Likely just need to extend the equations to multivariate case, where now they assume scalar. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK. Please park the conjugacy point as a new issue, refer to it here, consider the small suggestion to clarify the dimension in the example, and then go ahead and merge.
Closes #330 #331