Expand description
Split scores computed from class counts.
Functionsยง
- entropy
- Shannon entropy (base 2) of a class distribution.
- gini_
index - Weighted Gini impurity of the two children of a split.
- information_
gain - Entropy of the parent minus the weighted entropy of the children.
- weighted_
entropy - Weighted entropy of the two children; infinite when a child is empty.