Fitting a scikits.learn.hmm.GaussianHMM to variable length training sequences
You may do re-sampling to “reshape” a given input to the desired length.
You may do re-sampling to “reshape” a given input to the desired length.
To explain by example, I’ll use an example from natural language processing. Imagine you want to know the probability of this sentence: I enjoy coffee In a Markov model, you could estimate its probability by calculating: P(WORD = I) x P(WORD = enjoy | PREVIOUS_WORD = I) x P(word = coffee| PREVIOUS_WORD = enjoy) Now, … Read more