Neural Network Toolbox |
delays
This property defines a tapped delay line between the jth input and its weight to the ith layer.
It must be set to a row vector of increasing 0 or positive integer values.
Side Effects.. Whenever this property is altered, the weight's size (net.inputWeights{i,j}.size
) and the dimensions of its weight matrix (net.IW{i,j}
) are updated.
initFcn
This property defines the function used to initialize the weight matrix going to the ith layer from the jth input, if the network initialization function is initlay
, and the ith layer's initialization function is initwb
.
This function can be set to the name of any weight initialization function, including these toolbox functions.
Weight Initialization Functions | |
|
Zero-weight/bias initialization function. |
|
Midpoint-weight initialization function. |
|
Normalized column-weight initialization function. |
|
Normalized row-weight initialization function. |
|
Symmetric random-weight/bias initialization function. |
This function is used to calculate an initial weight matrix for the weight going to the ith layer from the jth input (net.IW{i,j}
) when init
is called, if the network initialization function (net.initFcn
) is initlay
, and the ith layer's initialization function (net.layers{i}.initFcn
) is initwb
.
Custom Functions.. See Advanced Topics for information on creating custom initialization functions.
learn
This property defines whether the weight matrix to the ith layer from the jth input is to be altered during training and adaption.
It enables or disables the weights learning during calls to either adapt
or train
.
learnFcn
This property defines the function used to update the weight matrix going to the ith layer from the jth input during training, if the network training function is trainb
, trainc
, or trainr
, or during adaption, if the network adapt function is trains
.
It can be set to the name of any weight learning function, including these toolbox functions.
Weight Learning Functions | |
|
Gradient descent weight/bias learning function. |
|
Grad. descent w/ momentum weight/bias learning function. |
|
Hebb-weight learning function. |
|
Hebb with decay weight learning function. |
|
Instar-weight learning function. |
|
Kohonen-weight learning function. |
|
LVQ1-weight learning function. |
|
LVQ2-weight learning function. |
|
Outstar-weight learning function. |
|
Perceptron weight/bias learning function. |
|
Normalized perceptron-weight/bias learning function. |
|
Self-organizing map-weight learning function. |
|
Widrow-Hoff weight/bias learning rule. |
The learning function updates the weight matrix of the ith layer from the jth input (net.IW{i,j}
) during calls to train
, if the network training function (net.trainFcn
) is trainb
, trainc
, or trainr
, or during calls to adapt
, if the network adapt function (net.adaptFcn
) is trains
.
Custom Functions.. See Advanced Topics for information on creating custom learning functions.
learnParam
This property defines the learning parameters and values for the current learning function of the ith layer's weight coming from the jth input.
The fields of this property depend on the current learning function (net.inputWeights{i,j}.learnFcn
). Evaluate the above reference to see the fields of the current learning function.
Call help
on the current learning function to get a description of what each field means.
size (read-only)
This property defines the dimensions of the ith layer's weight matrix from the jth network input.
It is always set to a two-element row vector indicating the number of rows and columns of the associated weight matrix (net.IW{i,j}
). The first element is equal to the size of the ith layer (net.layers{i}.size
). The second element is equal to the product of the length of the weights delay vectors with the size of the jth input:
userdata
This property provides a place for users to add custom information to the (i,j)th input weight.
Only one field is predefined. It contains a secret message to all Neural Network Toolbox users.
weightFcn
This property defines the function used to apply the ith layer's weight from the jth input to that input.
It can be set to the name of any weight function, including these toolbox functions.
Weight Functions | |
|
Conscience bias initialization function. |
|
Zero-weight/bias initialization function. |
|
Manhattan-distance weight function. |
|
Normalized column-weight initialization function. |
|
Normalized row-weight initialization function. |
The weight function is used when sim
is called to simulate the network.
Custom functions.. See Advanced Topics for information on creating custom weight functions.
Biases | Layer Weights |
© 1994-2005 The MathWorks, Inc.