Questions tagged [hidden-markov-models]

This tag is for questions relating to "Hidden Markov model", a statistical Markov model in which the system being modeled is assumed to be a Markov process with unobservable (i.e. hidden) states.

The Hidden Markov model or, HMM is based on augmenting the Markov chain. It allows us to talk about both observed events (like words that we see in the input) and hidden events (like part-of-speech tags) that we think of as causal factors in our probabilistic model.

Definition: Let $~{\displaystyle X_{n}}~$ and $~{\displaystyle Y_{n}}~$ be discrete-time stochastic processes and $~{\displaystyle n\geq 1}~$. The pair $~{\displaystyle (X_{n},Y_{n})}~$ is a hidden markov model if

  • $~{\displaystyle X_{n}}~$ is a Markov process and is not directly observable ("hidden");
  • $$~{\displaystyle \operatorname {\mathbf {P} } {\bigl (}Y_{n}\in A\ {\bigl |}\ X_{1}=x_{1},\ldots ,X_{n}=x_{n}{\bigr )}=\operatorname {\mathbf {P} } {\bigl (}Y_{n}\in A\ {\bigl |}\ X_{n}=x_{n}{\bigr )},}$$ for every $~{\displaystyle n\geq 1,} {\displaystyle x_{1},\ldots ,x_{n},}~$ and an arbitrary measurable set $~{\displaystyle A}~$.

Applications: Hidden Markov models are especially known for their application in reinforcement learning and temporal pattern recognition such as speech, handwriting, gesture recognition, part-of-speech tagging, musical score following, partial discharges and bioinformatics.

References:

https://en.wikipedia.org/wiki/Hidden_Markov_model

https://web.stanford.edu/~jurafsky/slp3/A.pdf

93 questions
3
votes
1 answer

Hidden Markov Model

I am reading "Bayesian Reasoning And Machine Learning" and I'm doing exercise 23.3 (a) on p.490. Here's the exercise: Consider a HMM with 3 states $(M=3)$ and $2$ output symbols, with a left-to-right state transition matrix $A = \begin{pmatrix}0.5…
1
vote
0 answers

Expression cycle certainty as probability

If I know for a fact that event A happens 21 times before event B happens, and B then happens 7 times before event A and the cycle repeats, Can I say that the probability of the B happening after event A is 7/28 and event A happening after event A…
TSR
  • 507
1
vote
1 answer

$\beta$-recursion calculation in matrix form in Hidden Markov Models

In the backward algorithm for inference in hidden markov models, how would we calculate $\beta$ in matrix form? In the answer to this question, I saw how to calculate $\alpha$ in matrix form, and now I'm interested to see it for $\beta$
1
vote
0 answers

Face Recognition using HMM

I had learnt some of the research papers of Face Recognition using Hidden Markov Model. Can you help me how Hidden Markov model is applied to face recognition?Also can you please give some numerical example?
0
votes
0 answers

Hidden Markov Model that is trained on and emits probability vectors as observed variables

I am currently working on a project, in which I aim to fit a model to a series of observed data points. These data points consist of probability vectors. Each vector adds up to a value of 1. E.g. Representation of observed probability vector: $O_1 =…
0
votes
1 answer

Inference in state space models

I have the following state space model $$x_{n}=x_{n-1}+cos(1.2n)$$ $$y_{n}=x_{n}^{2}+w_{n}$$ $$w_{n}\thicksim N(0,σ_{w}^{2})$$ For the observation pdf, we have $y_{n}\thicksim N(x_{n},{x_{n}σ_{w}}^{2})$ so we can use this to compute the observation…