Information gain is the change in entropy produced by a data split. In a decision tree, compare the entropy before the split with the average entropy afterward; lower post-split entropy indicates a better split. section 9.8 section 9.2
Choosing a split for app recommendations
In a dataset of app downloads, splitting users by age gives lower average entropy than splitting by platform. If the resulting leaves differ in size, weight each leaf’s entropy by its share of the samples. section 9.2 section 9.2
Table 9.2 A simplified version of the dataset in table 9.1, where the age column has been simplified to two categories, “young” and “adult” (view table figure)
| Platform |
Age |
App |
| iPhone |
Young |
Atom Count |
| iPhone |
Adult |
Check Mate Mate |
| Android |
Adult |
Beehive Finder |
| iPhone |
Adult |
Check Mate Mate |
| Android |
Young |
Atom Count |
| Android |
Young |
Atom Count |
The app-recommendation dataset includes platform, age, and downloaded app—the fields used to illustrate candidate splits. section 9.2



