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

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!

 採用された回答

Greg Heath
Greg Heath 2014 年 2 月 12 日

1 投票

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 件のコメント

David Franco
David Franco 2017 年 8 月 8 日
I found in the documentation:
net.divideMode
This property defines the target data dimensions which to divide up when the data division function is called. Its default value is ' sample' for static networks and ' time' for dynamic networks. It may also be set to ' sampletime' to divide targets by both sample and timestep, ' all' to divide up targets by every scalar value, or ' none' to not divide up data at all (in which case all data is used for training, none for validation or testing).
Marek Zidek
Marek Zidek 2018 年 1 月 18 日
編集済み: Marek Zidek 2018 年 1 月 18 日
divideBlock and divideMode is easy. However, I still cannot understand how divideInt works after using doc, help and fiddling with it.
Greg Heath
Greg Heath 2018 年 1 月 18 日
With divideInt you directly define the integer coordinates for each data division subset.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeDeep Learning Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by