ReactiveBayes / ExponentialFamily.jl

ExponentialFamily.jl is a Julia package that extends the functionality of Distributions.jl by providing a collection of exponential family distributions and customized implementations.
https://reactivebayes.github.io/ExponentialFamily.jl/
MIT License
12 stars 2 forks source link

What would be a good way to implement diagonal Normal distribution? #201

Open Nimrais opened 1 month ago

Nimrais commented 1 month ago

The multivariate normal distribution has a large number of parameters, $O(n^2 + n)$, which can make optimization challenging. It would be beneficial to have an implementation of the normal distribution with a diagonal covariance matrix, reducing the number of parameters to $2n$. This simplification would make the optimization process more manageable.