How to change the number of nodes in hidden layer?

4 vues (au cours des 30 derniers jours)
Tholkappian R
Tholkappian R le 20 Mai 2022
when constructing a neural network, how to change the number of nodes in each hidden layer. To be specific how to increase or to decrease the nodes in each hidden layer?

Réponses (1)

Yukta Maurya
Yukta Maurya le 24 Mai 2022
Assunmig that you might be working with LSTM, you can refer the below documentations -
  1. The "numHiddenUnits" represent the nodes in hidden layer, you can assign any value to it depending on your network. https://www.mathworks.com/help/deeplearning/ref/nnet.cnn.layer.lstmlayer.html?searchHighlight=hidden%20layer&s_tid=srchtitle_hidden%20layer_1

Community Treasure Hunt

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

Start Hunting!

Translated by