How can I add one more hidden layer to ANN wizard?
Show older comments
I am using ANN wizard (nnstart) to run neural networks for fitting (prediction) purposes. According to the results, it appears adding one more hidden layer would produce a better predictability. However, the wizard doesn't have the capacity to add more hidden layers.
Could anyone please advise what I need to do to run a 3 layer ANN (2 hidden and 1 output) using the wizard?
Thanks
Accepted Answer
More Answers (1)
Bruno Pop-Stefanov
on 22 Nov 2013
4 votes
I don't think there is a way to change the number of hidden layers using the wizard. Only the number of neurons in the hidden layer can be changed.
If you are okay not using the GUI, you can use network to create a customized neural network. This lets you specify the number of layers and customize every parameter of your neural network. See Classify Patterns with a Neural Network for details on using training and fitting command-line functions.
1 Comment
Greg Heath
on 5 Dec 2013
It is not necessary to design a custom net to use multiple hidden layers. For example
net = fitnet([ 5 5 ]);
view(net)
Categories
Find more on Deep Learning Toolbox in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!