Neural Network - net.divideFcn = 'divideind'

7 次查看(过去 30 天)
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!

采纳的回答

Greg Heath
Greg Heath 2015-10-23
Yes.
However, use [ 1:4, 10:20]
Thank you for formally accepting my answer
Greg
  1 个评论
Tea
Tea 2016-8-12
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

请先登录,再进行评论。

更多回答(0 个)

Community Treasure Hunt

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

Start Hunting!

Translated by