Determine whether datastore is shuffleable
tf = isShuffleable(
returns logical
ds
)1
(true
) if the datastore ds
is
shuffleable. Otherwise, the result is logical 0
(false
).
TransformedDatastore
is shuffleable if all underlying
datastores are shuffleable.
CombinedDatastore
is shuffleable if all underlying datastores
have a subset
method or are transformations/combinations of datastores that have
subset
methods..
Custom datastore classes are shuffleable if they subclass from
matlab.io.datastore.Shuffleable
.
You can use the shuffle
function on shuffleable datastores to
randomize the ordering of files, while preserving the row associations of files in different
datastores.