VMP Algorithm
The algorithm begins by computing the expected value of the sufficient statistics for that vector. Then, until the likelihood converges to a stable value (this is usually accomplished by setting a small threshold value and running the algorithm until it increases by less than that threshold value), do the following at each node:
- Get all messages from parents
- Get all messages from children (this might require the children to get messages from the co-parents)
- Compute the expected value of the nodes sufficient statistics
Read more about this topic: Variational Message Passing