MATLAB Function Reference
  Go to function:
    Search    Help Desk 
cut     See Also

Cut the dataset into n pieces for x validation purposes

Syntax

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.

See Also

xval

[ Help Desk ]