-
-
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
Increase support for batched multivariate distributions #5383
Comments
I'd like to work on this, could you please point me in the right direction? |
I think one can start by exploring the implementation of Random Variables in v4. @ricardoV94 did a great job of explaining design steps here.
|
They should work fine out of the box. We have tests for batched Dirichlet for instance. Only limitation is whether the distribution accepts batched values in the logp |
For mixtures, I think that generalization of multivariate distributions is a major improvement as compared to v3. For creating a mixture of lets say multivariate normals, there needs to be a loop in v3 to create mixture components. On the other hand, I can just specify the mixture axis in v4 if multivariate distributions support working with batch data. |
Yeah, I was just saying that multivariate mixtures already work in V4, nothing else should be needed. Am I missing something? |
Thank you so much, @Sayam753 and @ricardoV94; I will follow these steps and let you know if any assistance is required : ) |
Hi @ricardoV94. |
We can't generalize |
@ricardoV94 I want to work on the MvStudentT .Any resources or guidance regarding this would be really helpful. Regards |
The
logp
of several multivariate distributions does not work (or is not tested) for arbitrarily batched dimensions. Some cases I could confirm include:alpha
inStickBreakingWeights
#6042Reproducible code:
Distributions that already support (and have tests for) arbitrary shapes
The text was updated successfully, but these errors were encountered: