UNIT-IV - Decision Tree Induction
UNIT-IV - Decision Tree Induction
5. The leaves are the decisions or the final outcomes. And the decision
nodes are where the data is split.
Decision Trees for Classification
The decision nodes here are questions like ‘What’s the age?’, ‘Does he
exercise?’, ‘Does he eat a lot of pizzas’? And the leaves, which are
outcomes like either ‘fit’, or ‘unfit’.
Decision Trees for Classification
1. Root Node: The root node is the starting point of a tree. At this point,
the first split is performed.
3. Leaf/ Terminal Nodes: Leaf nodes represent the final class of the
outcome and therefore they’re also called terminating nodes.
Two measures are used to decide the best attribute:(Must be ROOT Node)
Information Gain
Entropy
Decision Trees for Classification
What Is Entropy?
3. The variable with the highest IG is used to split the data at the
root node
Decision Trees for Classification
Decision Trees for Classification
Decision Trees for Classification
Decision Trees for Classification
Decision Trees for Classification
Decision Trees for Classification
Decision Trees for Classification
Decision Trees for Classification
Decision Trees for Classification
Decision Trees for Classification
Decision Trees for Classification