Decision Tree, Cart, Machine Learning.
entropy. We can see if the probability of a label is 0.5, the entropy is the maximum. If in a dataset there are a total of 20 entries or rows, and 14 of them belongs to label 1 and 6 of them belongs to label 2, the entropy will be equal to: = — P(label 1).log(P(label 1)) — P(label 2).log(P(label