pub fn k_fold(
samples: usize,
folds: usize,
shuffle_seed: Option<u64>,
) -> Result<Vec<Split>, ErrorsJSL>Expand description
folds train/test splits of 0..samples: every sample is tested exactly once, and fold sizes
differ by at most one. With a seed the samples are shuffled first.