Formula

Entropy in Classification Trees

Similar to the Gini index numerically, entropy reflects node purity in a classification tree. A small value implies that one class dominates the region. Entropy is defined as: D=k=1Kp^mklogp^mkD=-\sum_{k=1}^{K} \hat{p}_{m k} \log \hat{p}_{m k} where p^mk\hat{p}_{m k} denotes the proportion of training observations in the mmth region that belong to the kkth class.

0

3

Updated 2026-06-21

Tags

Data Science

Learn After