Neural Network - net.divideFcn = 'divideind'
16 views (last 30 days)
Show older comments
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!
0 Comments
Accepted Answer
Greg Heath
on 23 Oct 2015
Yes.
However, use [ 1:4, 10:20]
Thank you for formally accepting my answer
Greg
1 Comment
Tea
on 12 Aug 2016
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
More Answers (0)
See Also
Categories
Find more on Define Shallow Neural Network Architectures in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!