Main Content

partitionByIndex

PartitionrandomPatchExtractionDatastoreaccording to indices

Description

patchds2= partitionByIndex(patchds,ind)partitions a subset of observations in a random patch extraction datastore,patchds, into a new datastore,patchds2. The desired observations are specified by indices,ind.

Input Arguments

collapse all

Random patch extraction datastore, specified as arandomPatchExtractionDatastoreobject.

Indices of observations, specified as a vector of positive integers.

Output Arguments

collapse all

Output datastore, returned as arandomPatchExtractionDatastoreobject containing a subset of files frompatchds.

Introduced in R2018b