Implement Multivariate mixtures #106
Labels
enhancement
New feature or request
graph rewriting
Involves the implementation of rewrites to Aesara graphs
help wanted
Extra attention is needed
important
This label is used to indicate priority over things not given this label
Our mixture logprob graphs are tailored for univariate mixtures, by either relying on
rv_pull_down
rewrites that only work for univariate random variables or assuming there is a 1-1 mapping between the shape value variable and the shape of each random variable component, which is not the case for multivariate distributions.aeppl/aeppl/mixture.py
Line 335 in 3331081
aeppl/aeppl/mixture.py
Lines 344 to 347 in 3331081
aeppl/aeppl/mixture.py
Lines 317 to 320 in 3331081
The meta information present in
RandomVariable.[ndim_supp, ndims_params]
and the logic in aesara.tensor.random.utils.broadcast_params`s should give us the tools to infer the right base log-probability shape.This could also be aided by aesara-devs/aesara#695
The text was updated successfully, but these errors were encountered: