pub fn split_samples_by_threshold( x: &Array2<f64>, sample_indices: &[usize], feature_idx: usize, threshold: f64, ) -> (Vec<usize>, Vec<usize>)
Split samples by threshold