Question 14
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.