S14 Machine learning · Practice
Graphical 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 7 kinds solid
Check
12 binary variables form a Bayesian network in which every variable but the first 1 has exactly 1 binary parents (the first 1 have none).
(a)
How many numbers specify it?
(b)
How many does a full table need?
Check
A chain of 20 variables with 2 states each.
(a)
About how many multiply-adds do forward and backward messages take to give every marginal?
(b)
How many digits long is the number of terms in the full sum (log₁₀ of )?
Check
Two independent causes A and B (priors 0.01 and 0.02) each set off an effect E, with probabilities 0.99 and 0.95; nothing else does (deterministic OR otherwise, no leak).
(a)
What is P(A | E)?
(b)
What is P(A | E, B)?
Check
A hidden state x₁ is 1 with probability 0.1 and persists to x₂ with probability 0.7 (and from 0 to 1 with probability 1 − 0.7). A sensor on x₂ reads 1 with probability 0.9 when x₂ = 1 and 0.2 when x₂ = 0; it reads 1.
(a)
What is the message from x₁ to x₂, the prior P(x₂ = 1)?
(b)
What is P(x₂ = 1 | reading)?
Check
Parameters: 10 binary nodes, 1 parents each?
Check
Message cost on a chain: N = 10, K = 4?
Check
Message P(x₂ = 1): p = 0.2, persistence 0.8?
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