Machine Learning, Decision Tree, Information Gain, Entropy.
0.918 Information Gain Formula Gain(S, Weather) = 1.571 — (((1+2)/10)*0.918 + ((3+1)/10)*0.811 + ((2+1)/10)*0.918) Gain(S, Weather) = 0.70 Gain(S, Parental_Availability) = ? Yes = 5 (5 Cinema) No = 5 (2 Tennis + 1 Cinema + 1 Shopping + 1 Home) Entropy(Syes) = - (5/5)*log2(5/5) = 0 Entropy(Sno) =