Number of Neurons in a model

Hi everyone,
I have another confusion
Is there any thumb rule or relation between number of neurons in hidden layer and input variables? suppose, I have a data set with 10 input variables. By hit and trial method, how many neurons maximum can I try? I understand that as number of neurons increase, correlation and mse also improves. But at same time, network gets overtrained. How can I be sure that I am not overtraining the network?
Thanks
Arijit

답변 (1개)

Ahmad Taher
Ahmad Taher 2012년 1월 19일

1 개 추천

Dear Colleague
If you have 10 input variables, I suggest to start with 10 neurons and try different numbers to 20 neurons and then select the best numbers with least MSE.

카테고리

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

질문:

2011년 12월 16일

Community Treasure Hunt

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

Start Hunting!

Translated by