|
Algorithm 1: GaBP Algorithm |
-
Step 0 Initialization:
Set a convergence threshold , and . Compute and .
-
Step 1 Iteration:
Propagate the messages and . Compute .
-
Step 2 Convergence check:
If the message and do not converge, return to Step 1, else, go to Step 3.
-
Step 3 Inference:
Compute the marginal means .
-
Step 4 Output:
Output the solution .
|