shuffle
Class: matlab.io.datastore.Shuffleable
Namespace: matlab.io.datastore
Return a shuffled version of a datastore
Syntax
ds2 = shuffle(ds)
Description
shuffles samples of the datastore ds2
= shuffle(ds
)ds
in random order, and returns
the shuffled datastore, ds2
.
Input Arguments
Output Arguments
Tips
You must implement the
shuffle
method by deriving a subclass from thematlab.io.datastore.Shuffleable
class. For more information, see Develop Custom Datastore.
Version History
Introduced in R2018a