I am writing a program to generate a neural network using NEWFF.
I have 5 input variables (A through E) which are currently being input as an array:
input = [ A1 A2 A3 A4 A5 B1 B2 B3 B4 B5 C1 C2 C3 C4 C5 D1 D2 D3 D4 D5 E1 E2 E3 E4 E5 ];
There is 1 target vector:
target = [ T1 T2 T3 T4 T5 ];
I input this to NEWFF as:
net = newff( input, target );
I would think this would generate a network with 5 inputs and 1 output. However, no matter how I format the input variables the network is defined as having only 1 input.
Can anyone clarify what the issue is?
P.S. I am using R2009B
No products are associated with this question.
Your input array only has one row in it - MATLAB ignores the line breaks. Use semi-colons to separate the values:
input = [ A1 A2 A3 A4 A5; B1 B2 B3 B4 B5; C1 C2 C3 C4 C5; D1 D2 D3 D4 D5; E1 E2 E3 E4 E5 ];
yes joe...I have same problem with you,,,my NN can't running when I use multi input like that. please help me.. thanks