MATLAB: Multilayer neural network with newff

artificial neural networkconnectinput layersnewfftrain

Hello everyone! I have constructed a neural network with 2 input layers and 3 layers (one of them represents the output one). net.inputLayer{1} is connected to layer{1} and inputLayer{2} is connected to Layer{2}. I want input layers 1,2 to have specific subset of my input data. How can i do this and then train the network with newff?
Thanks in advance for your feedback!!

Best Answer

If you are new with NNs stick with the defaults as much as possible. Input-Hidden-Output is sufficient for a universal approximator. It is very seldom that more is needed.
Although NEWFIT (regression) and NEWPR(classification) that call NEWFF (generic) are still available, they all are obsolete.
Do you have access to the current functions FITNET(regression) and PATTERNNET(classification) that call FEEDFORWARDNET (generic)? If so, choose one of the first two.
First practice on the MATLAB examples in the help and doc documentation.
First accept all defaults. If that doesn't work, increase the number of hidden nodes.
Don't hesitate to consult us again if you need help.
Hope this helps.
Greg
More examples can be obtained from
help nndatasets
doc nndatasets
Hope this helps.
Greg