Quiz Space

Machine Learning Techniques · Quiz 2 · 16 Mar 2025 · January 2025 term

Question 9: Consider a Naive Bayes problem with three features, f_1, …

Question 9

+4 marksNumerical answer

Consider a Naive Bayes problem with three features, f1,f2f_1, f_2 and f3f_3 for a binary classification problem. We have a total of 6 training samples given in the table below:

Samplef1f_1f2f_2f3f_3yy
x1x_10110
x2x_21010
x3x_30010
x4x_40001
x5x_51011
x6x_60101

For xtest=[110]Tx_{test} = \begin{bmatrix} 1 & 1 & 0 \end{bmatrix}^T, what output would Naive Bayes model predict assuming that no Laplacian smoothing has been done as part of the algorithm?

Show answer

Correct answer: 1

Question 9 of 14 in the IIT Madras BS Machine Learning Techniques (MLT) Quiz 2 paper sat on 16 Mar 2025, in the January 2025 term (IIT M DIPLOMA AN EXAM QDD2 16 Mar 2025). It carries 4 marks.

More questions from this paper

  1. Q1Below is the constrained version of the ridge regression optimization problem: \min_{w \in \mathbb{R}} \sum_{i=1}^{n} (…
  2. Q2Figure question
  3. Q3p is the proportion of points with label 1 in some node in a decision tree. Which of the following statements are true?
  4. Q4Figure question
  5. Q5Consider the following feature (x) along with its label (y): | x | y | |---|---| | 1 | 1 | | -1 | 1 | | 2 | 1 | | -2 | …
  6. Q6Figure question
  7. Q7Figure question
  8. Q8Consider a kernel regression problem on the following dataset with two features: {(x_1, y_1), (x_2, y_2), (x_3, y_3)} w…
  9. Q10Based on the above data, answer the given subquestions.
  10. Q11Based on the above data, answer the given subquestions.
  11. Q12Consider the following 2D data points along with its labels: | x | y | |---|---| | \begin{bmatrix} 1 & 1 \end{bmatrix}^…
  12. Q13Consider the following 2D data points along with its labels: | x | y | |---|---| | \begin{bmatrix} 1 & 1 \end{bmatrix}^…
  13. Q14Consider the following 2D data points along with its labels: | x | y | |---|---| | \begin{bmatrix} 1 & 1 \end{bmatrix}^…