@cvpartition/repartition
Return a new cvpartition object.
C should be a ‘cvpartition’ object. Cnew will use the same partition_type as C but redo any randomization performed (currently, only the HoldOut type uses randomization).
See also: @cvpartition/cvpartition
Source Code: @cvpartition/repartition