| Neural Network Toolbox | |
| Provide feedback about this page |
Create distributed time-delay neural network
Syntax
Description
newdtdnn(P,T,[S1 S2...S(N-l)],{D1 D2...DN},{TF1 TF2...TFN}, BTF,BLF,PF,IPF,OPF,DDF) takes
and returns an N-layer distributed time-delay neural network.
The transfer function TFi can be any differentiable transfer function such as tansig, logsig, or purelin.
The training function BTF can be any of the backpropagation training functions such as trainlm, trainbfg, trainfp, traingd, etc.
Caution
trainlm is the default training function because it is very fast, but it requires a lot of memory to run. If you get an out-of-memory error when training, try one of these:
|
trainlm training, but reduce memory requirements, by setting net.trainParam.mem_reduc to 2 or more. (See help trainlm.)
trainbfg, which is slower but more memory efficient than trainlm.
trainrp, which is slower but more memory efficient than trainbfg.
The learning function BLF can be either of the backpropagation learning functions learngd or learndgm.
The performance function can be any of the differentiable performance functions such as mse or msereg.
Examples
Here is a problem consisting of an input sequence P and target sequence T that can be solved by a network with one delay.
A network is created with one hidden layer of five neurons.
The network is trained for 50 epochs. Again the network's output is calculated.
Algorithm
Feed-forward networks consists of Nl layers using the dotprod weight function, netsum net input function, and the specified transfer functions.
The first layer has weights coming from the input with the specified input delays. Each subsequent layer has a weight coming from the previous layer and specified layer delays. All layers have biases. The last layer is the network output.
Each layer's weights and biases are initialized with initnw.
Adaption is done with trains, which updates weights with the specified learning function. Training is done with the specified training function. Performance is measured according to the specified performance function.
See Also
newcf, newelm, sim, init, adapt, train, trains
| Provide feedback about this page |
![]() | newcf | newelm | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |