How to generate a hmm model from a dataset?

by N. S.   Last Updated January 14, 2018 08:19 AM

I have a dataset of internet network traffic. There are multiple flows in the dataset that represents a sequence of observation. Any observation includes multiple packets which each packet has 2 features and a label. I want to model the traffic with hidden markov model.

I have read many functions of hmmlearn library, such as GaussianHMM, fit. I think I have to use these two functions in order to generate an hmm model, but I am so confused about the input parameters of these two functions. In fact I don't see any details about how to reshape the dataset for generatin an hmm model.

Related Questions

disease progression R markov chains

Updated April 24, 2015 03:08 AM

prediction using markov chain

Updated July 23, 2017 10:19 AM

Hidden Markov Models as Dynamic Bayesian Networks

Updated September 21, 2017 16:19 PM

Predicting probability of next event happening

Updated September 04, 2018 16:19 PM