package modelkit
Module Modelkit.Repeated_k_fold
Repeated shuffled K-fold, defaulting to five folds and ten repetitions. Each repetition tests every row exactly once. Splits are emitted in repetition-major, then fold-major order; row indices retain source order. Extending the repetition count preserves earlier repetitions. Random streams are deterministic for the same input and seed, independent of execution scheduling; they do not reproduce NumPy random streams. Groups do not constrain these splits; use group-aware splitting when group exclusion is required.