Professional Documents
Culture Documents
Information Gain:
Entropy: E =
Information Gain if we do split on Outlook column: = E(S) - Information Gain (Outlook) = 0.94 – 0.693 = 0.247
Similarly we need to calculate Information Gain if we do split on temp, humidity and windy.
Whichever has the highest information gain we will split on that column. We will take the decision
based on lowest Entropy in this case Outlook == Overcast
Entropy means impurity.
Teenage: 13- 19
Jr Adult: 20-30
Middle Aged:30-60: