How to change the number of nodes in hidden layer?

4 ビュー (過去 30 日間)
Tholkappian R
Tholkappian R 2022 年 5 月 20 日
回答済み: Yukta Maurya 2022 年 5 月 24 日
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?

回答 (1 件)

Yukta Maurya
Yukta Maurya 2022 年 5 月 24 日
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