Machine Learning, Decision Tree, Id3 Algorithm, Covid-19.
From the total of 14 rows in our dataset S, there are 8 rows with the target value YES and 6 rows with the target value NO. The entropy of S is calculated as: Entropy(S) = — (8/14) * log₂(8/14) — (6/14) * log₂(6/14) = 0.99 Note: If all the values in our target column are same the entropy will be