Machine Learning, Decision Tree, Information Gain, Entropy.
-(1/3)*log2(0) — 0 = 0 Entropy(Sno) = -(2/3)*log2(0) — 0 = 0 Gain(Ssunny,Parental_Availability)= 0.928 — ((1/3)*0 + (2/3)*0) = 0.928 Gain(Ssunny, Wealth) = 0.918 — ((3/3)*0.918 + (0/3)*0) = 0 Because the gain of the Parental_Availability feature is greater, the leaf of the Sunny state will be