Question: Example Problem 4 Consider the training data shown below. SampleX East West West East Low Low High Low Target Class No No Yes No 3

Example Problem 4 Consider the training data shown below. SampleX East West West East Low Low High Low Target Class No No Yes No 3 4 a) What is the entropy for all data? b) Use information gain to rank the two features X and Y, that is, which attribute is more informative? c) Use information gain to construct the decision tree. Make sure to identify the predictions for each leaf node d) What would be the class prediction for the following test instances? x-East. = High
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
