S14 Machine learning · Practice
Bayesian inference with conjugate priors
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 beta(2, 1) prior is updated with 7 successes in 20 trials. What's the posterior mean?
Check
With the same kind of update (beta(2, 2) prior, 7 of 20), what's the MAP estimate?
Check
After 3 successes in 10 trials, what does Laplace's rule of succession predict for the next trial?
Check
What's the variance of a beta(5, 3) distribution?
Check
A three-outcome source produced counts 1, 1 and 9. With a Dirichlet prior of 1 on each outcome, what's the predictive probability of the first?
Check
How far does the posterior mean (beta(1, 1) prior, 3 successes in 50) sit from the maximum-likelihood estimate?
Check
A failure rate has a gamma(2, 500 h) prior; then 12 failures occur in 10000 hours.
(a)
What is the posterior mean rate, per thousand hours?
(b)
What is its posterior standard deviation, per thousand hours?
Check
Posterior mean: beta(0.5, 0.5), 30 of 100?
Check
Laplace's rule: 0 of 60?
Check
Beta(1, 1) variance?
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