Is it possible to change the number of hidden layer in nprtool?

4 visualizaciones (últimos 30 días)
Habibul Aqil
Habibul Aqil el 19 de Mzo. de 2021
Respondida: Stephan el 20 de Mzo. de 2021
I was tasked by my supervisor to create a pattern recognition neural network by using nprtool and change the number of hidden layers in the network to observe the relationship between the number of hidden layers and the classification accuracy of neural network. I know that number of hidden neurons can be manipulated but I do not know how to change the amount of hidden layer. Can anyone help me with this issue?

Respuestas (1)

Stephan
Stephan el 20 de Mzo. de 2021
It is - indirectly - use patternet and then use a vector as input:
net = patternnet(10);
view(net)
or if you need more hidden layers e.g. 3 use:
net1 = patternnet([10, 10, 10]);
view(net1)

Categorías

Más información sobre Image Data Workflows en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by