Question: Q 1 - A decision tree is a tree - like graph with nodes representing the place where we pick an attribute and ask a
QA decision tree is a treelike graph with nodes representing the place where we pick an attribute and ask a question; edges represent the answers the to the question; and the leaves represent the actual output or class label. They are used in nonlinear decision making with simple linear decision surface. Decision trees classify the examples by sorting them down the tree from the root to some leaf node, with the leaf node providing the classification to the example. Each node in the tree acts as a test case for some attribute, and each edge descending from that node corresponds to one of the possible answers to the test case. This process is recursive in nature and is repeated for every subtree rooted at the new nodes.
A test on physical descriptive data size of the following Table into three partitions, namely small, medium and large.
a If the attribute height has the highest information gain, show the final decision tree returned by the algorithm.
b If the attribute gender has the highest information gain, show the final decision tree returned by the algorithm.
Table Gender, Height and Size
tableNoGender,Height,SizeMediumSmallMediumMediumSmallMediumSmallMediumMediumLargeMediumSmallMediumLargeLarge
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
