Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started