Quiz Space

Machine Learning Techniques · End Term · 3 Sept 2023 · May 2023 term · Set QPD1-S1

Question 14: You are working on a spam email classification problem. …

Question 14

+5 marksNumerical answer

You are working on a spam email classification problem. You have collected a dataset of some 1000 emails, labeled as either "Spam" or "Not Spam," and you want to build a decision tree to classify them based on certain features. One of the features is the presence of a specific keyword: "Won."

Here's the breakdown of emails containing or not containing the keyword: "Won."

"Won" keyword present: 300 Spam, 50 Not Spam
"Won" keyword not present: 100 Spam, 550 Not Spam

Calculate the information gain for selecting the "Won" keyword feature for splitting.

Show answer

Correct answer: 0.35 (accepted within ±0.25)

Question 14 of 17 in the IIT Madras BS Machine Learning Techniques (MLT) End Term paper sat on 3 Sept 2023, in the May 2023 term (IIT M DIPLOMA ET1 EXAM QPD1 S2 03 Sep). It carries 5 marks.

More questions from this paper

  1. Q1Figure question
  2. Q2Suppose you have been given a task of estimating the conversion rate of google click of new online advertisement campai…
  3. Q3You are working on a text classification problem using a Naive Bayes classifier to determine whether an email is "Spam"…
  4. Q4Figure question
  5. Q5Figure question
  6. Q6Which of the following statements is/are true?
  7. Q7Figure question
  8. Q8Figure question
  9. Q9Figure question
  10. Q10Consider the following dataset with two features. | X | y | |---|---| | [1,1] | 1 | | [-1,-1] | 1 | | [2,2] | 3 | | [-2…
  11. Q11Figure question
  12. Q12While training a perceptron model, the weight vector at some iteration t is \mathbf{w}^t. The next two data-points pick…
  13. Q13Consider the following optimization problem involving the variable \mathbf{w} = \begin{bmatrix} w_1 & w_2 \end{bmatrix}…
  14. Q15Which of the following statements is/are true about the K-NN algorithm?
  15. Q16You are working on a binary classification problem where you need to predict whether an email is spam (1) or not (0). Y…
  16. Q17Consider a simple neural network with one hidden layer. The network has the following architecture: Input layer with 3 …