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일

0 개 추천

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개)

질문:

2015년 10월 22일

댓글:

Tea
2016년 8월 12일

Community Treasure Hunt

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

Start Hunting!

Translated by