Hyperparameter tuning of neural network

3 vues (au cours des 30 derniers jours)
Itachi
Itachi le 20 Juil 2019
Commenté : Qiang Wang le 3 Fév 2021
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.

Réponses (1)

Greg Heath
Greg Heath le 21 Juil 2019
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 commentaires
Gunbir Singh Baveja
Gunbir Singh Baveja le 3 Mai 2020
i have the same question
Qiang Wang
Qiang Wang le 3 Fév 2021
referee ask me same question about why I only tuning nurons number in one hiddne layer.
How to response? Thank you.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Sequence and Numeric Feature Data Workflows dans Help Center et File Exchange

Produits


Version

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by