neural network - How to select number of Input layers, hidden layers and output layer using newff in Matlab? -
i using newff stock price forecasting project, trying setup back-propagation feed forward ann of 4 inputs, 1 hidden layers , 1 output layer (4-1-1). have read many forums learn how correctly specify these parameters newff, every forum/post copy/paste matlab newff definition (that not able understand new matlab , neural networks). can please let me know how setup 4-1-1 ann using newff?
example:
input = [0.1 0.8; 0.1 0.75; 0.01 0.8; 0.5 0.6]; output = [1 2]; nbhiddenneurons = 1; net = newff(input, output, nbhiddenneurons); this give 4-1-1 ann using newff.

note: newff() obsoleted in r2010b nnet 7.0. recommended function feedforwardnet.
Comments
Post a Comment