how can divide the sample into two part (training and test) in Narnet
Show older comments
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
Accepted Answer
More Answers (1)
the cyclist
on 16 May 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 Comments
coqui
on 16 May 2015
Greg Heath
on 24 May 2015
Why don't you want a validation set?
What MATLAB version?
What training function?
Really need to see more code.
coqui
on 5 Jul 2015
Categories
Find more on Deep Learning Toolbox in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!