Open CRF-HMM opened 12 years ago
Hi, Sorry for the late answer! I published the DrawHHMM code, but it was only used for debugging issues and not for illustration how the HHMM works. Hope it helps :)
Thanks! I'll use it.
Another point is that, I looked at it and couldn't find but I think it is still beneficial to ask. Is calculating likelihood of the model implemented in your code? I need to evaluate how well a specific HHMM fits the data. If likelihood of an observation sequence is present, that will work too.
The liklihood for passing the states of the HHMM (the generalized Viterbi) is not implemented. The computaion of the Liklihood of an input sequence equivalent to the forward-algorithm is possible by calculating the alpha value with expectationAlphaBetaLog.m. In the same way the beta value is connected to the backward-algorithm. I hope this helps as well :)
Can you tell me what the q,seq,A,PI, B, alph, and Palt variables represent in your HHMM_EM code?
I try to run the HHMM test code but it gives the following error: ??? Undefined function or method 'drawHHMM' for input arguments of type 'double'.
Is it possible for the owner to publish drawHHMM code as well?
Thanks