200 likes | 333 Views
Machine Learning 4. Hidden Markov Models. The Problem to Be Solved. Given a sequence of acoustic observations M ost probable sequence of words Corresponding to speaker’s intent. More Specifically. Sequence The signal is observable, the output is not. Two Items.
E N D
Machine Learning 4 Hidden Markov Models
Given a sequence of acoustic observations • Most probable sequence of words • Corresponding to speaker’s intent More Specifically
Sequence • The signal is observable, the output is not. Two Items
A climatologist in 2799 wants to reconstruct the weather in Baltimore during 2012 • Baltimore is now under water • Jacob Eisner, who lived in Baltimore in the early 21st century kept a diary. • His diary, through much historical drama, became the property of the Missouri Historical Society, a short walk from Washington University where the climatologist works. • This diary, besides containing lots of dreary stuff about emotional states, contains a record of how many ice cream cones Jason ate each day that summer. • What was the sequence of hot and cold days during the eventful summer of 2012? Framed a Different Way: The Ice Cream Task
Sequence: ice cream comes • Observation: sequence of ice cream cones • Hidden: sequence of hot and cold days We presume: There is a probabilistic relationship between the sequence of ice cones and the sequence of hot and cold days Note two items:
Each aij is an index into a table • Gives transition probabilities Markov Chains
S1 = sunny, s2 = cloudy, s3 = foggy, s4 = rainy Weather Model from Luger (p. 375)
+ ) P(LLL)
P(LLL) = (.625 * 625 * .625 * .4 * .4 * .4) + (.625 * .625 * .667 * .4 * .4 * .6) +(.625 * .667 * .625 * .4 * .6 * .4) (.625 * .667 * .667 * .4 * .6 * .6) + (.667 * .625 * .625 * .6 * .4 * .4) + (.667 * .625 * .625 * .6 * .4 * .6) + (.667 * .667 * .625 * .6 * .6 * .4) + (.667 * .667 * .667 * .6 * .6 * .6) = .015625 + .0250125 + .0250125 + .02669334 + .0250125 + .03751875 + .04004001 + .064096048 = .259010648 (!) There must be a better way
Ice Cream Task Rows labeled by prior state/conditioning event
Gender Task Rows labeled by prior state/conditioning event
.0464 bj(ot) Forward Trellis