Hidden Markov models and Kalman filters Flashcards

1
Q

What is an Hmm?

A

It is a special type of temporal model, with hidden states

Having three main components as matices:

  1. prior probability matrix
  2. transition probability matrix
  3. observation probability matrix

https://gyazo.com/0b1d563aeadafc20fc2b81aa89c89bd4

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Is the rain / umbrella example an HMM?

A

Yes - with one state variable Raint

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What happens if you have a model with two or more state variables?

A

You can fit it into the HMM by creating one mega variable

which is a tuple of these values

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is the transition model in an HMM?

A

It is a S x S matrix where S is the number of different states X can be in.

We now call this model for T

https://gyazo.com/b4f6578bd0f0aaf41cee06129ffeb900

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is the sensor model in an HMM?

A

https://gyazo.com/daf4ec44cd1bef3363500cdee1f3bce9

Here we have the matrix Ot

We must remember to only have values in the diagonal

this is for mathematical convenience.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is the foward algorithm in HMMs?

A

By simple restructuring we can now get the following equation for the forward algorithm:

https://gyazo.com/1738eb00f942af92fe13d0e3be421611

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is the backward algorithm in HMMs?

A

By restructuring we can now get the following for the backward algorithm:

https://gyazo.com/4122967e6d5d6023cae9e1878ad07ab4

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is the complexity of the forward-backward algorithm for HMMs?

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

How does smoothing work for the hmm?

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Example of filtering in HMM

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What do we use for HMMs with continuous values?

A

A gaussian function

or a mixture of gaussian functions

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

For linear models with continous values, we can use what?

A

Kalman filters

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is the purpose of the kalman filter?

A

By continously estimating the true value, position, velocity etc. of the object being measured. When the measured values contains unpredicted or random errors or variation.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What do we often use as a conditional density function for kalman filters?

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What is the difference in the forward function?

A

We take the integral of the transition model and the last update

18
Q

When does the kalman filters not work?

A

If the transition model is non linear

https://gyazo.com/5957f7f4505b64ee1ff7f5f02607ac58