|
Algorithm 1 Extended VMP (Mean-field assumption) |
Require:
, , ,
for
do
initialize posteriors using
end for
for i = 1... do
Set Free Energy
for
do
Calculate messages and using Section 3.6
Calculate posterior using Section 3.5
if
then
Calculate entropy using Section 3.7
Update Free Energy
end if
end for
for all
do
Calculate energy using Section 3.7
Update Free Energy
end for
return for all and
end for
|