Assignment 8
Assignment 8
Assignment 8
Which of the following is/are always true for the above Bayesian Network?
(a) P (A, B|G) = P (A|G)P (B|G)
(b) P (A, I) = P (A)P (I)
(c) P (B, H|E, G) = P (B|E, G)P (H|E, G)
(d) P (C|B, F ) = P (C|F )
Sol.(b)
Refer to the lecture
2. (2 marks) Consider the following data for 20 budget phones, 30 mid-range phones, and 20
high-end phones:
1
Consider a phone with 2 SIM card slots and NFC but no 5G compatibility. Calculate the
probabilities of this phone being a budget phone, a mid-range phone, and a high-end phone
using the Naive Bayes method. The correct ordering of the phone type from the highest to
the lowest probability is?
Find the probability that the student will not play given that x = (Outlook=sunny, Tempera-
ture=66, Humidity=90, Windy=True) using the Naive Bayes method. (Assume the continuous
features are represented as Gaussian distributions).
(a) 0.0001367
(b) 0.0000358
(c) 0.0000236
(d) 1
2
Sol. (a)
3
(a) Yes
(b) No
(c) The given data is insufficient
(d) None of these
Sol. (a)
From the plot, we can infer that the features of the data are independent given the class.
7. Ensembling in random forest classifier helps in achieving:
(a) reduction of bias error
(b) reduction of variance error
(c) reduction of data dimension
(d) none of the above
Sol. (b)
Refer to the lecture