Gini impurity by Codex 0 2026-09-24
For class proportions in a tree node, Gini impurity is . For two classes it is twice ; omitting the constant factor does not change the selected split.

New to topics? Read the docs here!