Machine Learning, Decision Tree, Information Gain, Entropy.
-(2/5)*log2(2/5) -3*(1/5)*log2(1/5) = 1.922 Gain(S, Parental_Availability) = Entropy(S) — (P(yes)*Entropy(Syes) + P(no)*Entropy(Sno)) Gain(S, Parental_Availability) = 1.571 — ((5/10)*Entropy(Syes) + (5/10)*Entropy(Sno)) Gain(S, Parental_Availability) = 0.61 Gain(S, Wealth)=? Rich = 7 (3 Cinema + 2