S14 Machine learning · Practice
Hidden Markov models
Problems dealt one at a time, with new numbers every time. The kinds you miss come back more often, and you can keep going as long as you like.
0 solved
0 in a row
0 of 10 kinds solid
Check
A two-state chain leaves state 1 with probability 0.2 and leaves state 2 with probability 0.1. What's the stationary probability of state 1?
Check
A state persists from one step to the next with probability 0.9. How many steps does a visit last on average?
Check
The same kind of chain (leaving probabilities 0.1 and 0.2) starts in state 1 with probability 1. What's the probability of state 1 after 3 steps?
Check
A machine is healthy with prior probability 0.5. An alarm fires with probability 0.05 when healthy and 0.9 when faulty. It fires. What's the probability the machine is faulty?
Check
A chain starts healthy with probability 0.5 and stays healthy with probability 0.8. Alarms fire with probability 0.3 when healthy and 0.9 when faulty. What's the joint probability of "healthy, healthy" with alarms in both hours?
Check
Roughly how many multiply-adds does the forward algorithm need for a 4-state model and 10 observations?
Check
A two-state chain leaves state 1 with probability 0.1 and state 2 with probability 0.2 per step. It starts in state 1.
(a)
What is the probability it's in state 1 after 4 steps?
(b)
What is the time constant of its approach to equilibrium?
Check
Stationary state 1: leave 0.01, return 0.01?
Check
Mean visit length, stay probability 0.8?
Check
P(faulty | alarm): prior healthy 0.1, alarm rates 0.01 and 0.99?
A kind of problem counts as solid once you've got it right on the first try twice in a row. Back to the lesson · Practice every topic in S14