SLIDE 1
Assignment 3
Zahra Sheikhbahaee Zeou Hu & Colin Vandenhof February 2020
1 [2 points] Mixture of Bernoullis
A mixture of Bernoullis model is like the Gaussian mixture model which we’ve discussed in this course. Each of the mixture components consists of a collection
- f independent Bernoulli random variables. In general, a mixture model assumes
the data are generated by the following process: first we sample z, and then we sample the observables x from a distribution which depends on z, i.e. p(x, z) = p(x|z)p(z) (1) In mixture models, p(z) is always a multinomial distribution with parameter π = {π1, ..., πK} which are mixture weights satisfying
K
- k=1
πk = 1, πk ≥ 0 (2) Consider a set of N binary random variable in a D-dimensional space xj, where j = 1, ..., N, each of which is governed by a Bernoulli distribution with param- eter θjk p(xi|zi = k, θ) =
D
- j=1
θxij
jk (1 − θjk)(1−xij)
(3) We can write the generative model of a mixture model as p(z|π) ∼ Multinoimal(π) =
K
- k=1
πzk
k
p(x|z, θ) ∼ Bernoulli(θ) =
K
- k=1
[θx
k(1 − θk)(1−x)]zk
(4) The second distribution is the mixture proportion and πk is the weight of k-th
- proportion. So the Bernoulli mixture model is given as
p(x) =
K
- k=1
πk
N
- i=1
D
- j=1
θxij
jk (1 − θjk)(1−xij)