Relating DTW to the HMM

The template in DTW is now replaced by a model, but otherwise the methods are conceptually very similar.

What is “hidden” ?

The model can use many possible state sequences to generate any given observation sequence. We don’t know which one it used, and we don’t care!

The complete model

Finally we put all those pieces together and we have the complete HMM model, which is actually rather simple.