Quiz Space

Machine Learning Techniques · Quiz 2 · 1 Dec 2024 · September 2024 term

Question 3: A binary classification dataset has 2000 data points belo…

Question 3

+4 marksNumerical answer

A binary classification dataset has 2000 data points belonging to {0,1}2\{0,1\}^2. A Naive Bayes algorithm was run on the same dataset, resulting in the following estimates:

p^, estimate for P(y=1)=0.4p^10, estimate for P(f1=1∣y=0)=0.25p^20, estimate for P(f2=1∣y=0)=0.35p^11, estimate for P(f1=1∣y=1)=0.15p^21, estimate for P(f2=1∣y=1)=0.05\begin{aligned} \hat{p}, &\text{ estimate for } P(y = 1) = 0.4 \\ \hat{p}_1^0, &\text{ estimate for } P(f_1 = 1 \mid y = 0) = 0.25 \\ \hat{p}_2^0, &\text{ estimate for } P(f_2 = 1 \mid y = 0) = 0.35 \\ \hat{p}_1^1, &\text{ estimate for } P(f_1 = 1 \mid y = 1) = 0.15 \\ \hat{p}_2^1, &\text{ estimate for } P(f_2 = 1 \mid y = 1) = 0.05 \end{aligned}

Based on the above data, answer the given subquestions.

Show answer

Correct answer: 0.95 (accepted within ±0.01)

Question 3 of 15 in the IIT Madras BS Machine Learning Techniques (MLT) Quiz 2 paper sat on 1 Dec 2024, in the September 2024 term (IIT M DIPLOMA AN EXAM QDD2 01 Dec 2024). It carries 4 marks.

More questions from this paper

  1. Q1Kernel regression with a polynomial kernel is applied on the following dataset with two features: X = \begin{bmatrix} 1…
  2. Q2Kernel regression with a polynomial kernel is applied on the following dataset with two features: X = \begin{bmatrix} 1…
  3. Q4A binary classification dataset has 2000 data points belonging to {0,1}^2. A Naive Bayes algorithm was run on the same …
  4. Q5Figure question
  5. Q6Consider the following feature vectors in \mathbb{R}^3: x_1 = \begin{bmatrix} 1 \ 2 \ 3 \end{bmatrix}, \quad x_2 = \beg…
  6. Q7Suppose you want to use a Naive Bayes classifier to predict whether a student will pass or fail an exam based on two fe…
  7. Q8Select all true statements.
  8. Q9What is the minimum number of misclassifications that can occur in the training dataset when using this k-NN algorithm?
  9. Q10Assuming there are outliers, the decision boundary becomes smoother with decreasing value of k in a k-NN algorithm.
  10. Q11Based on the above data, answer the given subquestions.
  11. Q12Consider the Bayesian formulation of the linear regression problem, where the prior for w is assumed to be w \sim \text…
  12. Q13Do you have enough information to find the entropy of this node?
  13. Q14If the answer to the previous question is ”Yes,” calculate the entropy of this node to three decimal places. If the ans…
  14. Q15Figure question