defining divideblock function for feedforward net
18 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
i've used 'divideblock' function as follow:
net.divideFcn = 'divideblock'; net.divideParam.trainRatio = 0.6; net.divideParam.valRatio = 0.20; net.divideParam.testRatio = 0.20;
for feedforward neural network. when i run the program, the details of the network will be displayed. the problem is, it display 2 neural network details. the first set will show
net =
Neural Network
. . . .
functions:
adaptFcn: 'adaptwb'
adaptParam: (none)
derivFcn: 'defaultderiv'
divideFcn: 'dividerand'
and the other one shows
functions:
adaptFcn: 'adaptwb'
adaptParam: (none)
derivFcn: 'defaultderiv'
divideFcn: 'divideblock'
divideParam: .trainRatio, .valRatio, .testRatio
. . . .
is it suppose to be like this when we define 'divideblock' as a divide function? i expect it to display only 1 and not both, since i dont need my data to be randomized.
thank you. :)
1 Kommentar
Greg Heath
am 7 Jan. 2013
Bearbeitet: Greg Heath
am 7 Jan. 2013
Post your code.
P.S. Use fitnet for regression and patternnet for classification. Both call feedforwardnet and provide better output info. There is no reason to use feedforwardnet.
Akzeptierte Antwort
Greg Heath
am 14 Jun. 2013
The default 'dividerand' exists at net creation: net = fitnet(H)
Specifying 'divideblock' then replaces it.
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Define Shallow Neural Network Architectures finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!