MATLAB Function Reference | Search  Help Desk |
cut | See Also |
Cut the dataset into n pieces for x validation purposes
Syntax
[pick, rest] = cut (d,n)
Description
[pick, rest] = cut (d,n)
cuts d
in n
sub-dataset, each of which is
placed in one cell of the cell array pick
. For each pick{j}
, the
rest of the data set is placed inside rest{j}
Remarks
The cutting process respects the classes repartition. xval