Class: matlab.io.datastore.Shuffleable
Package: matlab.io.datastore
Return a shuffled version of a datastore
ds2 = shuffle(ds)
shuffles samples of the datastore ds2
= shuffle(ds
)ds
in random order, and returns
the shuffled datastore, ds2
.
You must implement the shuffle
method by deriving a
subclass from the matlab.io.datastore.Shuffleable
class. For more information, see
Develop Custom Datastore.