0% found this document useful (0 votes)
22 views5 pages

Introduction to Machine Learning Course

The document outlines the structure and content of Week 9 of the 'Introduction to Machine Learning' course, focusing on assignments related to Markov Random Fields and Bayesian Networks. It includes various questions and answers regarding independence relations, parameters for probability tables, and factorization methods. The assignment submission deadline was March 26, 2025, and the document provides a link for certification exam registration.

Uploaded by

240188.ad
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
22 views5 pages

Introduction to Machine Learning Course

The document outlines the structure and content of Week 9 of the 'Introduction to Machine Learning' course, focusing on assignments related to Markov Random Fields and Bayesian Networks. It includes various questions and answers regarding independence relations, parameters for probability tables, and factorization methods. The assignment submission deadline was March 26, 2025, and the document provides a link for certification exam registration.

Uploaded by

240188.ad
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

4/22/25, 4:58 AM Introduction to Machine Learning - - Unit 12 - Week 9

([Link] ([Link]

[Link]@[Link] 

NPTEL ([Link] » Introduction to Machine Learning (course)


Click to register
for Certification
exam
Week 9 : Assignment 9
([Link]
The due date for submitting this assignment has passed.

If already Due on 2025-03-26, 23:59 IST.


registered, click
to check your Assignment submitted on 2025-03-23, 16:46 IST
payment status
1) Consider the Markov Random Field given below. We need to delete one edge 1 point
(without deleting any nodes) so that in the resulting graph, B and F are independent given A.
Which of these edges could be deleted to achieve this independence?
Course Note: In each option, we only delete one edge from the original graph.
outline

About
NPTEL ()

How does an
NPTEL
online
course
work? ()

Week 0 ()
AC
Week 1 () BE
CE
Week 2 ()
AE

Week 3 () Yes, the answer is correct.


Score: 1
Accepted Answers:
Week 4 ()
BE
CE
Week 5 ()

[Link] 1/5
4/22/25, 4:58 AM Introduction to Machine Learning - - Unit 12 - Week 9

2) Consider the Markov Random Field from question 1. We need to delete one node 1 point
Week 6 ()
(and also delete the edges incident with that node) so that in the resulting graph, B and C are
independent given A. Which of these nodes could be deleted to achieve this independence?
Week 7 ()
Note: In each option, we only delete one node and its incident edges from the original graph.

Week 8 () D
E
Week 9 ()
F
Undirected None of the above
Graphical
Yes, the answer is correct.
Models -
Score: 1
Introduction
Accepted Answers:
and
E
Factorization
(unit?
unit=104&less 3) Consider the Markov Random Field from question 1. Which of the nodes has / have 1 point
on=105) the largest Markov blanket (i.e. the Markov blanket with the most number of nodes)?

Undirected A
Graphical
B
Models -
Potential C
Functions D
(unit?
E
unit=104&less
on=106) F

Hidden Yes, the answer is correct.


Markov
Score: 1
Models (unit? Accepted Answers:
unit=104&less A
on=107) C

Variable
4) Consider the Bayesian Network given below. Which of the following independence 1 point
Elimination
relations hold?
(unit?
unit=104&less
on=108)

Tree Width
and Belief
Propagation
(unit?
unit=104&less
on=109)

Week 9
Feedback
Form:Introduct
ion to Machine A and B are independent if C is given
Learning!! A and B are independent if no other variables are given
(unit?
C and D are not independent if A is given
unit=104&less
on=290) A and F are independent if C is given

Quiz: Week 9 Yes, the answer is correct.


: Assignment
9

[Link] 2/5
4/22/25, 4:58 AM Introduction to Machine Learning - - Unit 12 - Week 9

(assessment? Score: 1
name=316) Accepted Answers:
A and B are independent if no other variables are given
Week 10 () A and F are independent if C is given

Week 11 () 5) In the Bayesian Network from question 4, assume that every variable is binary. 1 point
What is the number of independent parameters required to represent all the probability tables for
the distribution?
Week 12 ()

8
Text
12
Transcripts
() 16
24
Download 36
Videos ()
Yes, the answer is correct.
Score: 1
Books ()
Accepted Answers:
12
Problem
Solving
6) In the Bayesian Network from question 4, suppose variables A, C, E can take four 1 point
Session -
possible values, while variables B, D, F are binary. What is the number of independent
Jan 2025 ()
parameters required to represent all the probability tables for the distribution?

24
36
48
64
84
Yes, the answer is correct.
Score: 1
Accepted Answers:
48

7) In the Bayesian Network from question 4, suppose all variables can take 4 values. 1 point
What is the number of independent parameters required to represent all the probability tables for
the distribution?

72
90
108
128
144

Yes, the answer is correct.


Score: 1
Accepted Answers:
90

8) Consider the Bayesian Network from question 4. which of the given options are 1 point
valid factorizations to calculate the marginal P (E = e) using variable elimination (need not be the
optimal order)?

[Link] 3/5
4/22/25, 4:58 AM Introduction to Machine Learning - - Unit 12 - Week 9

∑ P (B) ∑ P (A) ∑ P (D|A) ∑ P (C |A, B) ∑ P (E = e|C )P (F |C )


B A D C F

∑ P (A) ∑ P (D|A) ∑ P (B) ∑ P (C |A, B) ∑ P (E = e|C )P (F |C )


A D B C F

∑ P (B) ∑ P (D|A) ∑ P (A) ∑ P (C |A, B) ∑ P (E = e|C )P (F |C )


B A D F C

∑ P (B) ∑ P (D|A) ∑ P (A) ∑ P (C |A, B) ∑ P (E = e|C )P (F |C )


A B D F C

∑ P (A) ∑ P (B) ∑ P (C |A, B) ∑ P (D|A) ∑ P (E = e|C )P (F |C )


A B C D F

Yes, the answer is correct.


Score: 1
Accepted Answers:
∑ P (B) ∑ P (A) ∑ P (D|A) ∑ P (C |A, B) ∑ P (E = e|C )P (F |C )
B A D C F

∑ P (A) ∑ P (D|A) ∑ P (B) ∑ P (C |A, B) ∑ P (E = e|C )P (F |C )


A D B C F

∑ P (A) ∑ P (B) ∑ P (C |A, B) ∑ P (D|A) ∑ P (E = e|C )P (F |C )


A B C D F

9) Consider the MRF given below. Which of the following factorization(s) of P (a, b, c, 1 point
d, e) satisfies/satisfy the independence assumptions represented by this MRF?

1
P (a, b, c, d, e) = ψ1 (a, b, c, d)ψ2 (b, e)
Z

1
P (a, b, c, d, e) = ψ1 (b)ψ2 (a, c, d)ψ3 (a, b, e)
Z

1
P (a, b, c, d, e) = ψ1 (a, b)ψ2 (c, d)ψ3 (b, e)
Z

1
P (a, b, c, d, e) = ψ1 (a, b)ψ2 (c, d)ψ3 (b, d, e)
Z

1
P (a, b, c, d, e) = ψ1 (a, c)ψ2 (b, d)ψ3 (b, e)
Z

1
P (a, b, c, d, e) = ψ1 (c)ψ2 (b, e)ψ3 (b, a, d)
Z

Partially Correct.
Score: 0.25
Accepted Answers:
1
P (a, b, c, d, e) = ψ1 (a, b, c, d)ψ2 (b, e)
Z
1
P (a, b, c, d, e) = ψ1 (a, b)ψ2 (c, d)ψ3 (b, e)
Z
1
P (a, b, c, d, e) = ψ1 (a, c)ψ2 (b, d)ψ3 (b, e)
Z
1
P (a, b, c, d, e) = ψ1 (c)ψ2 (b, e)ψ3 (b, a, d)
Z

10) The following figure shows an HMM for three time steps i = 1, 2, 3. Suppose that it 1 point
is used to perform part-of-speech tagging for a sentence. Which of the following statements

[Link] 4/5
4/22/25, 4:58 AM Introduction to Machine Learning - - Unit 12 - Week 9

is/are true?

The X i variables represent parts-of-speech and the Yi variables represent the words in the
sentence.

The Yi variables represent parts-of-speech and the X i variables represent the words in the
sentence.

The X i variables are observed and the Yi variables need to be predicted.

The Yi variables are observed and the X i variables need to be predicted.

Yes, the answer is correct.


Score: 1
Accepted Answers:
The X i variables represent parts-of-speech and the Yi variables represent the words in the
sentence.
The Yi variables are observed and the X i variables need to be predicted.

[Link] 5/5

Common questions

Powered by AI

Deleting node E in a Markov Random Field is effective to disconnect B and C given A because E acts as the conditional mediator between B and C. Removing E eliminates the paths through which information about B can reach C and vice versa, ensuring conditional independence given A .

Deleting node E would make B and C independent given A in the Markov Random Field. By removing E and its incident edges, the path between B and C is broken, leading to their conditional independence given A as E was the connecting factor .

A valid factorization pattern in an MRF follows the cliques of the graph to maintain conditional independence as encoded by the structure. For example, P(a, b, c, d, e) = (a, b, c, d) ψ1 (b, e) ψ2 maintains the independence assumptions because ψ1 and ψ2 cover the potential functions associated with maximal cliques, capturing all statistical dependencies .

In Bayesian Networks, two variables are considered independent given another variable if the given variable blocks all paths between the two variables. For example, in the network, A and B are independent if no other variables are given, and A and F are independent when C is given, as C acts as a separator that blocks additional information flow between A and F .

The prediction of parts-of-speech variables in HMMs depends on their observability. In the HMM structure, Yi variables are predicted as tags which are hidden, while Xi variables are observed as words. Prediction relies on the sequences of observations and transitions captured in the model .

The Markov blanket of a node in a network includes all its neighbors, its parents, and its children. For nodes A and C in the given Markov Random Field, they have the largest Markov blanket because they connect to the most other nodes directly within this network .

To make B and F independent given A in the Markov Random Field, we could delete either the edge BE or the edge CE. This is because removing either of these edges would sever the direct path connecting B and F through E, thus enforcing the conditional independence given A .

Variable elimination simplifies Bayesian Networks by summing out non-essential variables, retaining necessary ones to obtain marginal distributions. In the Bayesian Network questions, using factorizations such as ∑A ∑B ∑C ∑D ∑F P(A) P(D|A) P(B) P(C|A, B) P(E=e|C) P(F|C) allows calculating the marginal P(E=e) without detailing the entire network .

In HMMs for part-of-speech tagging, the hidden states represent the parts-of-speech, while the observable states correspond to words in a sentence. This gives structure for jointly predicting tags and capturing dependencies between neighboring parts-of-speech, guided by known observations and transition probabilities between states .

The number of independent parameters in a Bayesian Network is determined by the number of parent combinations and the number of possible states each variable can take. For instance, if variables A, C, E can take four values each, while B, D, F are binary, the network requires 48 independent parameters to define all the conditional probability tables due to the multiplicity of joint parent-child variable states .

You might also like