pub fn best_split( x: &[Vec<f64>], y: &[f64], min_samples: usize, ) -> Option<(usize, f64, f64)>
Find the best split for a set of samples.