Question: ( iv ) Reflect on the two recursive relationships we have studied: Forward ( HW 4 ) , t = P ( Y 0 :

(iv) Reflect on the two recursive relationships we have studied:
Forward (HW4),t=P(Y0:t,xt)=P(Yt|xt)x?P(xt|xt-1=x)P(Y0:t-1,xt-1=x)
Backward (HW5),t=P(Yt+1:T|xt)=x?P(Yt+1|xt+1=x)P(xt+1=x|xt)P(Yt+2:T|xt+1=x)
Note t,t are vectors with length equal to the number of states of x. In this case, there are two
states. Then one can think of and as matrices with shape TN for N=2 states. We have
t,i=P(Y0:t,xt=xi) and t,i=P(Yt+1:T|xt=xi) where xi is the ith state of x.
Find an expression of P(Y0:T,xt) in terms of the forward and backward probabilities.
(v) Find an expression for P(xt=xi|Y0:T) using the forward and backward matrices.
(vi) Using the updated path.csv dataset from Brightspace (see Homework 5 code), plot the noisy path
(Y0:T), the clean path (x0:T), and the most likely states using P(xt|Y1:t),P(xt|Yt+1:T), and P(xt|Y0:T)
for tin{0,dots,T}. Plot the clean and noisy path over time so the x -axis is the position and the y -axis
is time. The provided helper code will be very useful for this problem.
 (iv) Reflect on the two recursive relationships we have studied: Forward

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!