FUNCTION REFERENCE
repartition
Create a fresh random partition.
Create a fresh random partition.
Syntax
r = repartition(c)Preserves the partition type and stratification; consumes the session rng stream.
Example
c=cvpartition(4,'KFold',2); r=repartition(c)Differences from MATLAB: Only cvpartition objects are supported.
These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.