ReactiveBayes / RxInfer.jl

Julia package for automated Bayesian inference on a factor graph with reactive message passing
MIT License
237 stars 24 forks source link

Want rxinfer equivalent of the following turing model #202

Closed prantik1998 closed 6 months ago

prantik1998 commented 6 months ago

I am trying to port the following model from turing to rxinfer

@model function laplacian_model(A,y) m,n = size(A) mew ~ filldist(Laplace(10,1),n) y ~ MvNormal(A*mew,[0.5 0;0 0.5]) end

I was not able to use laplce with rxinfer and also was not able to use cvi for non conjugate priors.

Any pointers on how to get this working in rxinfer.

albertpod commented 6 months ago

Hi @prantik1998. I think the best place for this question will be in [Discussions (https://github.com/biaslab/RxInfer.jl/discussions). Converting it.