X
(https://swayam.gov.in) (https://swayam.gov.in/nc_details/NPTEL)
[email protected]
NPTEL (https://swayam.gov.in/explorer?ncCode=NPTEL) » Introduction to Machine Learning (course)
Click to register
for Certification
exam
Week 11 : Assignment 11
(https://examform.nptel.ac.in/2025_01/exam_form/dashboard)
The due date for submitting this assignment has passed.
If already Due on 2025-04-09, 23:59 IST.
registered, click
to check your Assignment submitted on 2025-04-08, 10:03 IST
payment status
1) Which of the following is/are estimated by the Expectation Maximization (EM) 1 point
algorithm for a Gaussian Mixture Model (GMM)?
Course K (number of components)
outline
πk (mixing coefficient of each component)
About
NPTEL () μ
k
(mean vector of each component)
How does an Σk (covariance matrix of each component)
NPTEL None of the above
online
Yes, the answer is correct.
course Score: 1
work? () Accepted Answers:
π k (mixing coefficient of each component)
Week 0 () μ
k
(mean vector of each component)
Σk (covariance matrix of each component)
Week 1 ()
2) Which of the following is/are true about the responsibility terms in GMMs? Assume 1 point
Week 2 () the standard notation used in the lectures.
Week 3 ()
Σk γ(znk ) = 1 ∀n
Week 4 () Σn γ(znk ) = 1 ∀k
Week 5 () γ(znk ) ∈ {0,1} ∀n, k
Week 6 ()
γ(znk ) ∈ [0,1] ∀n, k
Week 7 () π j > π k ⟹ γ(znj ) > γ(znk ) ∀n
Yes, the answer is correct.
Week 8 () Score: 1
Accepted Answers:
Week 9 () Σk γ(znk ) = 1 ∀n
γ(znk ) ∈ [0,1] ∀n, k
Week 10 ()
3) What is the update equation for μk in the EM algorithm for GMM? 1 point
Week 11 ()
N
∑ γ(znk ) (m)
xn
n=1
(m) |v
Gaussian μ =
k N
Mixture ∑
n=1
γ(znk )
|v
(m−1)
Models (unit?
unit=122&less ∑
N
γ(znk ) xn
n=1 (m−1)
(m) |v
on=123) μ =
k N
∑ γ(znk ) (m−1)
n=1 |v
Expectation
Maximization N
∑ γ(znk ) xn
(unit? (m) n=1 |v
(m−1)
μ =
unit=122&less k N
on=124)
N
∑ γ(znk ) (m)
xn
n=1
(m) |v
Expectation μ =
k N
Maximization -
Continued Yes, the answer is correct.
Score: 1
(unit?
Accepted Answers:
unit=122&less N
∑ γ(znk ) xn
on=125) (m) n=1 |v(m−1)
μ =
k N
∑ γ(znk )
Week 11 n=1 |v(m−1)
Feedback
Form:Introduct 4) Select the correct statement(s) about the EM algorithm for GMMs. 1 point
ion to Machine
Learning!!
(unit? In the mth iteration, the γ(znk ) values are computed using the paramater estimates
unit=122&less computed in the same iteration.
on=292)
In the mth iteration, the γ(znk ) values are computed using the paramater estimates
Quiz: Week
11 :
computed in the (m − 1)th iteration.
Assignment
11 The Σk parameter estimates are computed during the E step.
(assessment?
name=318) The π k parameter estimates are computed during the M step.
Yes, the answer is correct.
Week 12 () Score: 1
Accepted Answers:
Text In the mth iteration, the γ(znk ) values are computed using the paramater estimates
Transcripts computed in the (m − 1)th iteration.
() The π k parameter estimates are computed during the M step.
Download
Videos ()
For questions 5 to 7, use the following data consisting of 8 points (x i, yi ).
Books ()
Problem
Solving 5) Fit a GMM with 2 components for this data. What are the mixing coefficients of the 1 point
Session - learned components? (Note: Use the sklearn implementation of GMM with random state = 0. Do
Jan 2025 () not change the other default parameters).
(0.791, 0.209)
(0.538, 0.462)
(0.714, 0.286)
(0.625, 0.375)
Yes, the answer is correct.
Score: 1
Accepted Answers:
(0.625, 0.375)
6) Using the model trained in question 5, compute the log-likelihood of the following 1 point
points. Which of these points has the highest likelihood of being sampled from the model?
(2.0, 0.5)
(-1.0, -0.5)
(7.5, 8.0)
(5.0, 5.5)
Yes, the answer is correct.
Score: 1
Accepted Answers:
(7.5, 8.0)
7) Let Model A be the GMM with 2 components that was trained in question 5. Using 1 point
the same data from question 5, estimate a GMM with 3 components (Model B). (Note: Use the
sklearn implementation of GMM with random state = 0 and all the other default parameters.)
Select the pair(s) of points that have the same label in Model A but different labels in Model B.
(1.0, 1.5) and (0.9, 1.6)
(1.8, 1.2) and (0.9, 1.6)
(7.8, 9.5) and (8.8, 7.5)
(7.8, 9.5) and (7.6, 8.0)
(8.2, 7.3) and (7.6, 8.0)
Yes, the answer is correct.
Score: 1
Accepted Answers:
(7.8, 9.5) and (8.8, 7.5)
(8.2, 7.3) and (7.6, 8.0)
8) Consider the following two statements. 1 point
Statement A: In a GMM with two or more components, the likelihood can attain arbitrarily high
values.
Statement B: The likelihood increases monotonically with each iteration of EM.
Both the statements are correct and Statement B is the correct explanation for Statement
A.
Both the statements are correct, but Statement B is not the correct explanation for
Statement A.
Statement A is correct and Statement B is incorrect.
Statement A is incorrect and Statement B is correct.
Both the statements are incorrect.
Yes, the answer is correct.
Score: 1
Accepted Answers:
Both the statements are correct, but Statement B is not the correct explanation for Statement
A.