Reference to "adaptwb" function in Neural Network toolbox.

3 次查看(过去 30 天)
I applied the "adaptwb" function to the implementation of my algorithm. Thus, I want to describe the mechanism of this function in my paper, but the detail of this function is not provided in the technical document of MATLAB. So, I wonder if there are any references to this function.

采纳的回答

Nick Hobbs
Nick Hobbs 2015-8-14
I understand you want to determine how 'adaptwb' is updating the weights for the neural network. If you make a quick neural network with
net = feedforwardnet(20)
you will get an output of information for the network. From there, if you click on 'layerWeights' a help page will appear. From there you can click 'learnFcn', which describes that the parameter is used to define the learning function for 'adaptwb'. You can also see the list of learning functions by clicking on 'learning function', which will provide you a list of learning functions for networks. To determine which learning function your network uses you should be able to use
net.layerWeights{i,j}.learnFcn
where i and j are for the values provided by net.layerWeights.
This same procedure can be used for 'inputWeights' and 'biases' to determine how these learn.
I hope this information helps to guide you on how to determine how your network is adapting with adaptwb.

更多回答(1 个)

Greg Heath
Greg Heath 2015-8-17
Have you tried the 3 command line documentation sources?
help adapt
doc adapt
type adapt
Hope this helps.
Thank you for formally accepting my answer
Greg
  2 个评论
Alvaro Macias
Alvaro Macias 2018-11-15
Hi, I have tried those commands and tried to go deeper on the Neural Network Adapt Functions.
In the nnproperty.net_adaptFcn said that the nnadapt just contains adaptwb as the only option. Inside the doc said that adaptwb is a "Sequential order incremental training w/learning functions" if we assume that it is similar to trains, that's mean that the algoritms will be similiar "Each weight and bias is updated according to its learning function after each time step in the input sequence".
I want to know if adaptwb uses the same learning function as trians. In that case the adaptation can be done with all the function listed in nnlearn. Is it that correct?
Best regards,
Alvaro
Alvaro Macias
Alvaro Macias 2018-11-16
Finally I found that adapt uses the learn function learnFcn and train uses the train function trainFcn.
net.biases{i}.learnFcn
This property defines which of the learning functions is used to update the th layer's bias vector (net.b{i}) during training, if the network training function is trainb, trainc, or trainr, or during adapt, if the network adapt function is trains. For a list of functions, type help nnlearn [Matlab].
Hope this helps others

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Pattern Recognition and Classification 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by