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
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.