find_best_split_for_node

Function find_best_split_for_node 

Source
pub fn find_best_split_for_node(
    x: &Array2<f64>,
    y: &Array1<i32>,
    sample_indices: &[usize],
    config: &DecisionTreeConfig,
    n_classes: usize,
) -> Option<CustomSplit>
Expand description

Find best split for a node given sample indices