Machine Learning, Decision Tree, Id3 Algorithm, Covid-19.
is the probability of class ‘i’ or the ratio of “number of rows with class i in the target column” to the “total number of rows” in the dataset. Information Gain for a feature column A is calculated as: IG(S, A) = Entropy(S) - ∑((|Sᵥ| / |S|) * Entropy(Sᵥ)) where Sᵥ is the set of rows in S for which