Question 15
Suppose you want to build a decision tree to help diagnose a certain disease based on patient data. You have a dataset of 1000 patients labeled as either “positive” or “negative”. Here, positive represents patients with the disease and negative represents no disease. One of the feature used to diagnose is headache.
Below is the breakdown of the patients reporting headache:
Headache present: 300 positive, 50 negative
Headache not present: 100 positive, 550 negative
Use the following values if required:
Note: Use for the entropy calculations.
Based on the above data, answer the given subquestions.
What is the information gain for choosing the feature “headache” for splitting at the root node? Enter the answer correct to two decimal places.