Professional Documents
Culture Documents
Artificial Intelligence DD2380 HMM Example: Usain Bolt: Accelerate Prepare Decelerate Stop
Artificial Intelligence DD2380 HMM Example: Usain Bolt: Accelerate Prepare Decelerate Stop
Artificial Intelligence DD2380 HMM Example: Usain Bolt: Accelerate Prepare Decelerate Stop
You have developed an automatic video annotation system for annotating recorded running sequences of Usain
Bolt. The system takes images from a video stream of a running sequence as an input, it extracts some visual data
and annotates each image as:
Here, F 1 . . . F 7 represent seven ways of classifying each video frame (i.e. seven di↵erent possible observation
outcomes that might have to do with for example Usain’s posture) and their probabilities of being observed in each
state. If an observation is not mentioned under a state it means it has probability zero of being observed there. The
states are annotated by xt and observations in each time step are represented by ot . Note that STOP is a non-emitting
terminating (or absorbing) state.
The system divides a video sequence in several video frames and each of them is classified to one of the F 1 . . . F 7.
1
Artificial Intelligence DD2380
HMM example: Weather prediction
Your housekeeping robot hands you the right coat each day before you leave for work. The robot cannot see the
weather conditions, but it does have a crystal which reacts to environmental conditions. The crystal turns into one
of 3 colors (red, green or blue). That is, the actual weather conditions (sun, rain, snow) are hidden to the robot. The
Hidden Markov Model for the problem is given below with state transition and observation matrices.
1. Start by drawing a model of the system with hidden and observable states annotated. Do not forget to draw all
the connections between the hidden states, as well as between states and observations.
2. You do not know the exact initial state of the world but you know from previous experience that it is a about a
50% chance of sun and equal chance for rain and snow. We have O = {o1 = blue, o2 = green, o3 = red}.
3. What is the most likely weather condition for the forth day?
4. What is the most likely observation for the fourth day?
5. What is the most likely weather condition each of the three days first days?