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!

 Akzeptierte Antwort

Greg Heath
Greg Heath am 23 Okt. 2015

0 Stimmen

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

1 Kommentar

Tea
Tea am 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

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Deep Learning Toolbox finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 22 Okt. 2015

Kommentiert:

Tea
am 12 Aug. 2016

Community Treasure Hunt

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

Start Hunting!

Translated by