Hyperparameter tuning of neural network
3 次查看(过去 30 天)
显示 更早的评论
Hi guys,
I need a code to find the optimum configuration of a neural network. I mean the number of hidden layers and their corresponding neurons. I found the following topic but there's nothing on the number of hidden layers.
Please, can anyone help me? Thanks in advance.
0 个评论
回答(1 个)
Greg Heath
2019-7-21
One hidden layer is always sufficient. However, sometimes
1. Knowledge of the physical or mathematical process may lead to a better understanding using multiple hidden layers
2. Multiple hidden layers can be used to minimze the total number of hidden layer weights that have to be estimated.
Hope this helps.
Thank you for formally accepting my answer
Greg
3 个评论
Qiang Wang
2021-2-3
referee ask me same question about why I only tuning nurons number in one hiddne layer.
How to response? Thank you.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Sequence and Numeric Feature Data Workflows 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!