MACHINE LEARNING TECHNIQUES - LASA
MACHINE LEARNING TECHNIQUES - LASA
MACHINE LEARNING TECHNIQUES - LASA
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
168<br />
To do this, one proceeds iteratively and tries to find the optimal state at each time step. Such an<br />
iterative procedure is advantageous in that, if one is provided with part of the observations as in<br />
the above weather prediction example, one can use the observations { } 1 ,..., t<br />
first t time steps to guide the inference.<br />
o o made over the<br />
The optimal state at each time step is obtained by combining inferences made with the forward<br />
and backward procedures and is given by<br />
γ ( j)<br />
=<br />
t<br />
α<br />
N<br />
∑<br />
i=<br />
1<br />
The most likely sequence is then obtained by computing:<br />
j<br />
( t) β ( t)<br />
α<br />
i<br />
j<br />
( t) β ( t)<br />
( ) arg max( γ () i)<br />
qt<br />
1≤≤<br />
i N<br />
t<br />
i<br />
, see also Equation(7.4).<br />
= (7.13)<br />
The state sequence maximizing the probability of a path which accounts for the first t<br />
observations and ends in state j is given by:<br />
δ ( j) = max p( q... q , q = j, o... o)<br />
(7.14)<br />
t 1 1 1<br />
1...<br />
t −<br />
q q<br />
t t<br />
t−1<br />
Computing the above quantity requires taking into account the emission probabilities and the<br />
transition probabilites. Again one proceeds iteratively through induction. This forms the core of<br />
the Viterbi algorithm and is summarized in the table below:<br />
Hence, when inferring the weather over the next five days, given information on the weather for<br />
the last ten days, one would first compute the first 10 states sequence q1,.....<br />
q using (7.14) and<br />
10<br />
then one would use (7.13) to infer the next five states q 11<br />
,..... q 15<br />
. Given q 11<br />
,..... q 15<br />
, one would<br />
then draw from the associated emission probabilities to predict the particular weather (i.e. the<br />
particular observation one should make) for the next 15 time slots.<br />
:<br />
© A.G.Billard 2004 – Last Update March 2011