split_samples_by_threshold

Function split_samples_by_threshold 

Source
pub fn split_samples_by_threshold(
    x: &Array2<f64>,
    sample_indices: &[usize],
    feature_idx: usize,
    threshold: f64,
) -> (Vec<usize>, Vec<usize>)
Expand description

Split samples by threshold