Entropy and Information Gain
Entropy and Information Gain is used to calculate the information gain during splitting the tree into branches.
Entropy & Information Gain Formula
Advantages of Information Gain
- Works better when the classes are imbalanced
- Less sensitive to noise
Disadvantages of Information Fain
- Complex to calculate
- Less interpretable
- Take the split with more information gain
Example
For the above example,
For the left tree,
Get the information gain in the same way for the right tree and then take the split with more information gain