Closed malonzm1 closed 2 years ago
Can you provide the sequence? It's difficult for me to know exactly what's going wrong from this alone. In general, pomegranate does support missing values.
I changed my code so there's less nan in the input sequence. However, all the hidden states in the viterbi path shows just one state.
Here is the sequence. sequence.txt
I used MultivariateGaussianDistribution for the HiddenMarkovModel.from_sample function. The viterbi path now looks better.
I understand that nan's are ignored by the model. But when I look at the viterbi path, nans have hidden states as well.
Btw, does pomegranate have support for replicates of continuous observations?
I have a very short script,
It returns a viterbi_likelihood of -inf and an empty viterbi_path. Could it be because my sequence has many nan's (otherwise the values range from -1 to 1)? Pls. advise.
Thanks and good day.