Now to create the neural network. The linear network
must have tapped delay in order to learn the time-
shifted correlation between P and T: NEWLIN creates a
linear layer.
>> net = newlin([-3 3],1,[0 1],0.1);
[-3 3] is the expected input range. The second argument
is the number of neurons in the layer. [0 1] specifies
one input with no delay and one input with a delay of
one. The last argument is the learning rate.
|