biaslab / ForneyLab.jl

Julia package for automatically generating Bayesian inference algorithms through message passing on Forney-style factor graphs.
MIT License
149 stars 33 forks source link

Refactor user interface for EP update specification #139

Closed ThijsvdLaar closed 3 years ago

ThijsvdLaar commented 3 years ago

This PR refactors the user interface for specification of EP-sites. Previously, EP-sites were automatically assigned based on node type (e.g. Probit). However, other types message updates (e.g. sum-product) might also be available. The current interface for algorithm specification requires the user to explicitly pass ep_sites at the time of construction.