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

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!