nickgillian / grt

gesture recognition toolkit
859 stars 285 forks source link

what's the differenece between continuousHMM and discreateHMM #93

Closed daniellocust closed 7 years ago

daniellocust commented 7 years ago

Hello, Nickgillian!

I'm studying the HMM, and read the code of continuousHiddenmarkovmodel.cpp. In the train_(...) function, i didn't find the code to implement Baum-Welch algorithm, but the algorithm is implemented in DiscreteHiddenMarkovModel.cpp. So, i wanna to know what difference is between this two kind of algorithm, and why continuousHMM need not to implement Baum-Welch algorithm? Thanks!

nickgillian commented 7 years ago

Hi daniellocust,

Your analysis of the two HMM algorithms (discrete and continuous) is correct. The two algorithms use very different algorithms:

At some point, I would like to revisit both algorithms and improve them, as neither implementation is optimal, so if you're interested in helping to improve the core algorithms behind either/both then let me know.

daniellocust commented 7 years ago

Hi Nickgillian, Thank you very much!