Hyperparameter tuning of neural network

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.

답변 (1개)

Greg Heath
Greg Heath 2019년 7월 21일

1 개 추천

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

Itachi
Itachi 2019년 7월 21일
Thanks Greg, but is there any toolbox or code avalible for this kind of hyperparameter tuning?
i have the same question
Qiang Wang
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.

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 Deep Learning Toolbox에 대해 자세히 알아보기

제품

릴리스

R2019a

질문:

2019년 7월 20일

댓글:

2021년 2월 3일

Community Treasure Hunt

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

Start Hunting!

Translated by