how to define number of neurons in nntool (neural networl tool) in Matlab R.2009.a

1 view (last 30 days)
Hi, I am using Matlab R.2009.a to estimate functions. I applied NN tool .Then i encountered a problem in defining the layers. When i import input and target.In the New/Create Network or data I chose 2 number of layers.then in the "properties for Layers" i can select the number of neurons for the first layer,But the box for entering the number of neurons for the second layer is "inactive"!! it doesnt let me choose the number of neurons for the 2nd layer. I tried an older version of Matlab R.2006.a.There, this box for choosing the 2nd layer number of neurons is "active". I was wondering how this important feature of Matlab has been ignored in the newer version? I need many features of the 2009 version,and can not replace the older one. What do you seggest me to do to overcome this problem is Matlab NNtool? Thanks for reading my question Regards,

Accepted Answer

Greg Heath
Greg Heath on 22 Jun 2012
The number of 2nd layer neurons is equal to the dimension of the output training vectors.
Greg

More Answers (0)

Categories

Find more on Sequence and Numeric Feature Data Workflows in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!