Reputation: 2282
I'd like to fit a scikits.learn.hmm.GaussianHMM to training sequences of different length. The fit method, however, prevents using sequences of different length by doing
obs = np.asanyarray(obs)
which only works on a list of equally shaped arrays. Does anyone have a hint on how to proceed?
Upvotes: 38
Views: 2336
Reputation: 108
You may do re-sampling to "reshape" a given input to the desired length.
Upvotes: 7