Open ricardoV94 opened 2 years ago
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.
* Bonus here would be to see how mixture distributions will play with generalized multivariate distributions.
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.
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 : )
- StickBreakingWeights (alpha, but not k, could be batched)
Hi @ricardoV94. StickBreakingWeights
can now take batched alpha
(example here) after removing some simple checks for alpha. Should we also generalize K
for StickBreakingWeights
? Is there a particular instance of K
for which we are not generalizing?
We can't generalize k
because that would mean draws with different sizes and Aesara cannot handle ragged (non rectangular) tensors.
@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:Reproducible code:
Distributions that already support (and have tests for) arbitrary shapes