Machine Learning, Decision Tree, Information Gain, Entropy.
classes of the inter node will be as follow: 1 Cinema 2 Tennis Entropy(Ssunny) = -(1/3)*log2(1/3) -(2/3)*log2(2/3) = 0.918 Gain(Ssunny,Parental_Availability) = ? Gain(Ssunny,Parental_Availability) = Entropy(Ssunny) — (P(yes |Ssunny)*Entropy(Syes) + P(no |Ssunny)*Entropy(Sno)) Entropy(Syes) =