Neural Network Toolbox™ Previous page   Next Page 
divideblock
 Provide feedback about this page

Divide vectors into three sets using blocks of indices

Syntax

Description

divideblock is used to separate input and target vectors into three sets: training, validation, and testing. It takes the following inputs:

allV
R x Q matrix of Q R-element vectors.
trainRatio
Ratio of vectors for training. Default = 0.6.
valRatio
Ratio of vectors for validation. Default = 0.2.
testRatio
Ratio of vectors for testing. Default = 0.2.

and returns

trainV
Training vectors
valV
Validation vectors
testV
Test vectors
trainInd
Training indices
valInd
Validation indices
testInd
Test indices

Examples

Network Use

Here are the network properties that define which data division function to use, and what its parameters are, when train is called.

See Also

divideind, divideint, dividerand


 Provide feedback about this page 

Previous page dist divideind Next page

 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS