Skip to main content
7 events
when toggle format what by license comment
Oct 17, 2016 at 14:52 history edited dontloo CC BY-SA 3.0
edited body
Oct 17, 2016 at 7:28 comment added dontloo @QianHuang hi I'm not very familiar with the code, I suppose the other function is the marginal of a path, which is different of the marginal of a node. You can take a look at cs.columbia.edu/~mcollins/fb.pdf, the two marginals correspond to the $\mu(j,a)$ and $\mu(j,a,b)$ terms.
Oct 17, 2016 at 6:48 comment added Qian Huang @dontllo Since the beta is actually beta', and it should subtract the cost in calcExpectation(github.com/taku910/crfpp/blob/master/node.cpp#L35). But one more question I have is why it does not subtract the cost in calcExpectation(github.com/taku910/crfpp/blob/master/path.cpp#L15) as the beta is also beta' in that place.
Oct 17, 2016 at 6:35 comment added dontloo @QianHuang you're welcome.
Oct 17, 2016 at 6:34 history edited dontloo CC BY-SA 3.0
added 6 characters in body
Oct 17, 2016 at 4:38 vote accept Qian Huang
Oct 17, 2016 at 3:26 history answered dontloo CC BY-SA 3.0