aNet.ai
Machine Learning/Learning path
0day streak0XP · Lv 1
← 10. Decision Trees & Ensemble Learning
Lesson 3 of 6 9 min · 124 words

Information gain

Choosing the split that reduces entropy the most.

Information gain is the drop in entropy from splitting node on attribute :

The second term is the weighted average entropy of the children. The tree chooses the split with the largest information gain — the one that makes the children purest.

Information gain is biased towards features with many distinct values (like an ID column, which gives perfectly pure leaves). The gain ratio (used by C4.5) corrects for this by dividing by the split's own entropy.

Formula to remember

Gini impurity

Alternative impurity used by CART.

Quick check · +5 XP

Boosting trains its models…

Practice this topic
Saved in this browser as you type.
aNet.ai · Introduction to Machine Learning · NewUU course outlineProgress saved in this browser