pub fn gini_index( parent_distribution: &[usize], left_distribution: &[usize], right_distribution: &[usize], _parent_entropy: f64, ) -> f64
Weighted Gini impurity of the two children of a split.