pub fn create_folds(n: usize, n_folds: usize, seed: u64) -> Vec<usize>Expand description
Assign observations to folds (deterministic given seed).
Returns a vector of length n where element i is the fold index (0..n_folds)
that observation i belongs to.