Neural Network - net.divideFcn = 'divideind'

Hi,
I am trying to use "net.divideFcn = 'divideind'". In my case, I want to merge two different range of indices, e.g.,
net.divideParam.trainInd = 1:4, 10:20; (is it possible?) net.divideParam.valInd = 5:9; net.divideParam.testInd = 21:25;
Thank you!

 Accepted Answer

Greg Heath
Greg Heath on 23 Oct 2015
Yes.
However, use [ 1:4, 10:20]
Thank you for formally accepting my answer
Greg

1 Comment

Hi, could you please explain why if I input indices like that, trainInd in training records is given as column instead of row vector? However, trainMask is fine. Thank you

Sign in to comment.

More Answers (0)

Categories

Find more on Deep Learning Toolbox in Help Center and File Exchange

Asked:

on 22 Oct 2015

Commented:

Tea
on 12 Aug 2016

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!