Machine Learning, Decision Tree, Information Gain, Entropy.
Tennis + 1 Shopping + 1 Home) Poor = 3 (3 Sinema) Entropy(Srich) = 1.842 Entropy(Spoor)=0 Gain(S, Wealth) = Entropy(S) — (P(rich)*Entropy(Srich) + P(poor)*Entropy(Spoor)) Gain(S, Wealth) = 0.2816 Finally, all gain values are listed one by one and the feature with the highest gain value is selected