How does the routine newfftd work? (It's for time delay neural networks)
What does the vector ID represent?
net = newfftd(PR,ID,[S1 S2…SNl],{TF1 TF2…TFNl},BTF,BLF,PF)
PR-Rx2 matrix of min and max values for R input elements.
ID – Input delay vector.
In the example shown in the on-line help, the vector ID is [0 1]:
net = newfftd([0 1],[0 1],[5 1],{'tansig' 'purelin'});
Suppose that I have a time sequence P of N data, the instruction phase is
conducted on N/2 data assuming that the i-th data is predictable
considering the values at the time i-1,i-2,i-3 with one time delay.
My target vector is T and is generated from P by shifting back of three
position the vector P:
time* 1 2 3 4 5 6 7 8 9 10 data sequence a b c d e f g h i j | (*) numbers give the time sequence (**) letters are real values between 0 and 1
In this case the input layer has 3 neurons while the output layer has only one.
My questions are:
1)How can I initialize the network assuming that all the data is normalized (i.e. min=0, max=1)?
2)How do I create vectors P and T for the training of the instruction net = train(net,P,T)?
Best Answer