Search icon
Subscription
0
Cart icon
Close icon
You have no products in your basket yet
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Hands-On Markov Models with Python

You're reading from  Hands-On Markov Models with Python

Product type Book
Published in Sep 2018
Publisher Packt
ISBN-13 9781788625449
Pages 178 pages
Edition 1st Edition
Languages
Concepts
Authors (2):
Ankur Ankan Ankur Ankan
Profile icon Ankur Ankan
Abinash Panda Abinash Panda
Profile icon Abinash Panda
View More author details

Forward-backward algorithm (smoothing)

Coming to the forward-backward algorithm, we are now trying to compute the conditional distribution of the hidden state given the observations.

Taking the example of our robot localization, we are trying to now find the probability distribution of the robot's position at some time instance given the sensor readings:

Forward-backward algorithm: P(Zk|X)
Figure 3.5: HMM showing three time slices, k-1, k, and k+1

Now, since we have been given all the observed variables in the model, we can say that the value of P(Zk|X) is going to be proportional to the joint distribution over Zk and X:

Now, we know that we can write X={X1:k, Xk+1:n}. Replacing this in the preceding equation, we get:

We can apply the chain rule in the preceding equation to write it as:

From our model structure, we know that , and using this independence property we can...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}