how can divide the sample into two part (training and test) in Narnet
Ältere Kommentare anzeigen
By using Matlab code the divide function which I have employed is divideblock therefore I necessarily divided the sample into three part : training, validation and test.
How I can decomposed the sample inti only two parts (training and test), what's the code which I must employed instead 'divideblock'.
Thanks
Akzeptierte Antwort
Weitere Antworten (1)
the cyclist
am 16 Mai 2015
Notice the syntax of divideblock:
divideblock(Q,trainRatio,valRatio,testRatio)
If you only want training and test sets, then use something like
divideblock(Q,0.8,0,0.2)
3 Kommentare
coqui
am 16 Mai 2015
Greg Heath
am 24 Mai 2015
Why don't you want a validation set?
What MATLAB version?
What training function?
Really need to see more code.
coqui
am 5 Jul. 2015
Kategorien
Mehr zu Deep Learning Toolbox finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!