How can one specify fixed number of interleaved items for training, validation and test set in a Matlab feedforwardnet?

I have a dataset set of 16300 items. I want to create a feedforwardnet, that has 1000 items in each of training, validation and test set. I want the items to be spread evenly over the dataset, so choose to use divideint (interleaved).

I attempted to do this (as I do not find a way to specify Q=3000)

net.divideFcn = 'divideint';
net.divideParam.trainRatio = 0.0735;
net.divideParam.valRatio = 0.0735;
net.divideParam.testRatio=0.0735;

I observe all sets now get 1/3 of the data items, not as I intended.

How can I solve this?

Reset to default

Know someone who can answer? Share a link to this question via email, Twitter, or Facebook.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like