Function compute::validation::shuffle_two[][src]

pub fn shuffle_two(arr1: &[f64], arr2: &[f64]) -> (Vec<f64>, Vec<f64>)
Expand description

Shuffle two arrays. The same shuffling is applied to both arrays. That is, a pair (x_i, y_i) will still be paired together as (x_j, y_j) after shuffling.