Neural Network Toolbox |
Functions
These properties define the algorithms to use when a network is to adapt, is to be initialized, is to have its performance measured, or is to be trained.
adaptFcn
This property defines the function to be used when the network adapts.
It can be set to the name of any network adapt function, including this toolbox function:
The network adapt function is used to perform adaption whenever adapt
is called.
Custom Functions.. See Advanced Topics for information on creating custom adapt functions.
Side Effects.. Whenever this property is altered, the network's adaption parameters (net.adaptParam
) are set to contain the parameters and default values of the new function.
initFcn
This property defines the function used to initialize the network's weight matrices and bias vectors.
It can be set to the name of any network initialization function, including this toolbox function.
The initialization function is used to initialize the network whenever init
is called.
Custom Functions.. See Advanced Topics for information on creating custom initialization functions.
Side Effects.. Whenever this property is altered, the network's initialization parameters (net.initParam
) are set to contain the parameters and default values of the new function.
performFcn
This property defines the function used to measure the network's performance.
It can be set to the name of any performance function, including these toolbox functions.
Performance Functions | |
|
Mean absolute error-performance function. |
|
Mean squared error-performance function. |
|
Mean squared error w/reg performance function. |
|
Sum squared error-performance function. |
The performance function is used to calculate network performance during training whenever train
is called.
Custom functions.. See Advanced Topics for information on creating custom performance functions.
Side Effects.. Whenever this property is altered, the network's performance parameters (net.performParam
) are set to contain the parameters and default values of the new function.
trainFcn
This property defines the function used to train the network.
It can be set to the name of any training function, including these toolbox functions.
Training Functions | |
|
BFGS quasi-Newton backpropagation. |
|
Bayesian regularization. |
|
Powell-Beale conjugate gradient backpropagation. |
|
Fletcher-Powell conjugate gradient backpropagation. |
|
Polak-Ribiere conjugate gradient backpropagation. |
|
Gradient descent backpropagation. |
|
Gradient descent with adaptive lr backpropagation. |
|
Gradient descent with momentum backpropagation. |
|
Gradient descent with momentum and adaptive lr backpropagation |
|
Levenberg-Marquardt backpropagation. |
|
One-step secant backpropagation. |
|
Resilient backpropagation (Rprop). |
|
Scaled conjugate gradient backpropagation. |
|
Batch training with weight and bias learning rules. |
|
Cyclical order incremental training with learning functions. |
trainr |
Random order incremental training with learning functions. |
The training function is used to train the network whenever train
is called.
Custom Functions.. See Advanced Topics for information on creating custom training functions.
Side Effects.. Whenever this property is altered, the network's training parameters (net.trainParam
) are set to contain the parameters and default values of the new function.
Subobject Structures | Parameters |
© 1994-2005 The MathWorks, Inc.