Gain Ratio
Problem (s.321): Concept - Information Gain is biased toward attributes with many values. Using Day as attribute splits the data perfectly into subsets of size 1 (D1…D14) but won’t work for new data.
Fix: use GainRatio as criterion:
SplitInformation penalizes attributes with many values. Notation: candidate attribute; possible values of ; set of examples ; subset where .
Related
Concept - Information Gain | Concept - ID3 | Concept - Decision Tree