Assignment 11
Assignment 11
Based on the density estimation of a GMM given below, answer questions 2-4.
2. What is value of k?
(a) 3
(b) 4
(c) 5
(d) 6
Sol. (b)
Equal to the number of clusters you can see in the figure.
3. What is the minimum value of k ′ ̸= k, where k is from previous question, for which you will
get a very similar density estimation?
1
(a) 3
(b) 4
(c) 5
(d) 6
Sol. (a)
Should be clear from the image.
4. (2 marks) Assume equal πi for each gaussian model after convergence as in Q2. What would
(approximately) be πi ’s for the model you’ll get with k ′ as in Q3?
(a) [0.33, 0.33, 0.17, 0.17]
(b) [0.2, 0.2, 0.6]
(c) [0.25, 0.25, 0.5]
(d) [0.2, 0.2, 0.2, 0.4]
Sol. (c)
For k = 4, πi ’s = [0.25, 0.25, 0.25, 0.25]
For k = 3, two of the clusters are merged =⇒ πi ’s = [0.25, 0.25, 0.5]
For a set of points (given in orange), the density estimation of a GMM is given below. Based
on this, answer questions 5 and 6.
Sol. (b)
We would have have gotten a nice density estimate if the clusters were sampled from a gaussian.
2
6. What can be done to get a better fit?
(a) Increase k
(b) Use a better initialisation
(c) Learn for more iterations
(d) There is no problem
Sol. (a)
You can increase k to allow the model to fit a larger number of gaussians to approximate a
clearly non-gaussian distribution.
An example is shown below with k=8.
Sol. (c)
Refer to lecture.
3
9. KNN is a special case of GMM with the following properties: (Select all that apply)
1
(a) γi = i
(2πϵ)1/2
e− 2ϵ
(b) Covariance = ϵI
(c) µi = µj ∀i, j
1
(d) πk = k