Replies: 1 comment 4 replies
-
It looks like Aside from that, if you want to estimate multiple series at once, the usual answer is to expand the dimensions of the You might be able to combine those distinct state sequences (e.g. using Regardless, you can always create distinct
Without an explicit value of |
Beta Was this translation helpful? Give feedback.
-
Hi!
I am new to bayesian modeling and PyMC3 and I am trying to estimate the parameters of a Hidden Markov Model (HMM) with gaussian emissions for multiple short sequences.
I followed the examples on the examples directory and I was able to correctly implement a HMM with only one sequence of observations. However, in my problem, I have multiple sequences of observations and I want to estimate the parameters of the HMM with 3 hidden states. I already tried several approaches but I was not successful on any of them.
I tried to generate, for each sequence, a
DiscreteMarkovChain
and aSwitchingProcess
random variable in afor
loop, that iterated over each sequence of observations, but the code was very slow and I could not obtain any results. I saw thattheano.scan
allows for more efficient iterations, but I was not able to implement it either.Here is my code:
How can I estimate the parameters of a Hidden Markov Model with multiple sequences?
I am sorry if this is a very basic question, but I am new to this and I am really trying to learn!
Thank you in advance!
Beta Was this translation helpful? Give feedback.
All reactions