You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Depending on how the model and transition is defined, Online EM won't always correctly retrieve sufficient statistics when using algorithms like BP or MH.
The text was updated successfully, but these errors were encountered:
From: mhoward2718 [mailto:notifications@github.com]
Sent: Wednesday, May 20, 2015 12:23 PM
To: p2t2/figaro
Subject: [figaro] Online EM doesn't always retrieve sufficient statistics correctly (#461)
Depending on how the model and transition is defined, Online EM won't always correctly retrieve sufficient statistics when using algorithms like BP or MH.
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/461.
Variable Elimination uses a special factor type to compute sufficient statistics. The other algorithms compute statistics from algorithm.distribution(). In batch, these come out the same. In online situations where every parameterized variable in the model has evidence applied to it, they also come out the same. But, when the parameterized variables do not always have evidence in every time step, the statistics computed by BP, Importance and MH don't match what's produced by VE. So, they are at least inconsistent with each other, and I think what's computed by VE is correct.
By the way, #462 doesn't completely fix the problem and so this bug should stay open.
Depending on how the model and transition is defined, Online EM won't always correctly retrieve sufficient statistics when using algorithms like BP or MH.
The text was updated successfully, but these errors were encountered: