What is the difference between 'divideblock' and 'divideint'?

4 views (last 30 days)
David Franco on 11 Feb 2014
Commented: Greg Heath on 18 Jan 2018
In Neural Network Toolbox, what is the difference between 'divideblock' and 'divideint'?
net.divideFcn = 'divideblock';
net.divideParam.trainRatio = 0.6;
net.divideParam.valRatio = 0.2;
net.divideParam.testRatio = 0.2;
---------------------------------------------------------
net.divideFcn = 'divideint';
net.divideParam.trainRatio = 0.6;
net.divideParam.valRatio = 0.2;
net.divideParam.testRatio = 0.2;
And what that means 'divideMode'?
net.divideMode = 'sample';
where 'sample' can be replaced by 'time', 'sampletime', 'all' or 'none'.
Thank you!
0 CommentsShow -2 older commentsHide -2 older comments

Sign in to comment.

Accepted Answer

Greg Heath on 12 Feb 2014
Have you tried using the help and doc commands?
Have you tried using simple examples without the ending semicolon?
help divideblock
doc divideblock
[trainInd,valInd,testInd] = divideblock(10,0.6,0.2,0.2)
help divideint
doc divideint
[trainInd,valInd,testInd] = divideint(10,0.6,0.2,0.2)
I don't know what sampletime, all or none mean.
However for the creation functions I use
net1 = fitnet;
dividemode1 = net1.dividemode
net2 = patternnet;
dividemode2 = net2.dividemode
net3 = selforgmap;
dividemode3 = net3.dividemode
net4 = timedelaynet;
dividemode4 = net4.dividemode
net5 = narnet;
dividemode5 = net5.dividemode
net6 = narxnet;
dividemode6 = net6.dividemode
Please let us know if you can find creation functions with the other modes.
Hope this helps.
Thank you for formally accepting my answer
Greg
3 CommentsShow 1 older commentHide 1 older comment
Marek Zidek on 18 Jan 2018
Edited: Marek Zidek on 18 Jan 2018
divideBlock and divideMode is easy. However, I still cannot understand how divideInt works after using doc, help and fiddling with it.
Greg Heath on 18 Jan 2018
With divideInt you directly define the integer coordinates for each data division subset.

Sign in to comment.

Categories

Find more on Define Shallow Neural Network Architectures in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!