My input array is
35.0000 1.0000 1.2500 0.5000 65.0000 1.0000 1.2500 0.5000 35.0000 2.0000 1.2500 0.5000 65.0000 2.0000 1.2500 0.5000 35.0000 1.0000 1.7500 0.5000 65.0000 1.0000 1.7500 0.5000 35.0000 2.0000 1.7500 0.5000 65.0000 2.0000 1.7500 0.5000 35.0000 1.0000 1.2500 1.0000 65.0000 1.0000 1.2500 1.0000 35.0000 2.0000 1.2500 1.0000 65.0000 2.0000 1.2500 1.0000 35.0000 1.0000 1.7500 1.0000 65.0000 1.0000 1.7500 1.0000 35.0000 2.0000 1.7500 1.0000 65.0000 2.0000 1.7500 1.0000 20.0000 1.5000 1.5000 0.7500 80.0000 1.5000 1.5000 0.7500 50.0000 0.5000 1.5000 0.7500 50.0000 2.5000 1.5000 0.7500 50.0000 1.5000 1.0000 0.7500 50.0000 1.5000 2.0000 0.7500 50.0000 1.5000 1.5000 0.2500 50.0000 1.5000 1.5000 1.2500 50.0000 1.5000 1.5000 0.7500 50.0000 1.5000 1.5000 0.7500 50.0000 1.5000 1.5000 0.7500 50.0000 1.5000 1.5000 0.7500 50.0000 1.5000 1.5000 0.7500 50.0000 1.5000 1.5000 0.7500
My output array is
7.9700 15.2200 9.5300 12.6000 9.4400 13.1600 9.8100 11.6500 8.4700 14.0500 9.5000 11.7000 7.0900 11.1000 6.6900 10.4400 6.2900 14.8800 12.2500 10.3800 10.6500 9.5000 10.1600 10.6500 11.1300 11.5000 11.1000 10.9900 10.9800 11.0300
I used Neural Network tool(nntool). I clicked new in the network data manager and in the create network page I selected the Network type as Feed-forward backprop
Input data in a variable'c' as given above and selected it from the dropdown box and the target data 'd' same. other parameters like training function & Adaption learning function and Performance function as default values.
If I need only one hidden layer, Do I need to set the number of layers as 1?
Similarly I set the number of neurons as 3 for layer1 & the transfer function as LOGSIG and created the network by name network1. Now I opened the network and clicked the Train tab. In the training info I selected the Training Data Input as c and target as d and clicked Train. But I am not getting the ANN predicted output value corresponding to each input value.
Please help me at the earliest.
Best Answer