matlab.io.datastore.Shuffleable.shuffle - Return a shuffled version of a datastore - MATLAB (original) (raw)

Main Content

Class: matlab.io.datastore.Shuffleable
Namespace: matlab.io.datastore

Return a shuffled version of a datastore

Description

[ds2](#d126e1640497) = shuffle([ds](#d126e1640469)) shuffles samples of the datastore ds in random order, and returns the shuffled datastore, ds2.

Input Arguments

expand all

ds — Input datastore

matlab.io.Datastore object

Output Arguments

expand all

ds2 — Shuffled datastore

matlab.io.Datastore object

Tips

Version History

Introduced in R2018a

MathWorks - Domain Selector