ReactiveMP.jl icon indicating copy to clipboard operation
ReactiveMP.jl copied to clipboard

Predictive posterior distributions

Open caxelrud opened this issue 4 years ago • 2 comments

Is it possible to generate predictive posterior distribution after posteriors are available?

caxelrud avatar Oct 23 '21 12:10 caxelrud

Hey @caxelrud!

Unfortunately, at the moment ReactiveMP.jl doesn't provide predictive posterior out of the box. We plan to add this feature in the future. However, it should be possible to obtain the predictive posterior manually. For the different problems, you'd have a different solution to how to do that. If you provide a more specific example, we'll be glad to help you out.

But generally speaking, you can try to initialise the same model you've used for inference, but replace uninformative priors with the inferred posterior distributions to generate predictive posterior distribution. You will probably also need to replace observations with uninformative distributions, e.g. Gaussians with huge variance.

bvdmitri avatar Oct 25 '21 09:10 bvdmitri

+1

svilupp avatar Jun 17 '22 16:06 svilupp