How do we decide the number of hidden layers and the number of neurons per hidden layer?
Multi Layered Perceptron
Hey @rishverma, there is no thumb rule, for this, you need to try out different models, and than finalize your choice. The general idea is to keep number of neutrons as a power of 2, like 32,64,128,256,256,572,1024 and so on. Also first we attempt to increase number of neurons as layers increase and than finally reduce, the perceptrons,
like input featuers = 16 -> 64 neurons -> 256 neurons -> 576 neurons -> 128 neurons -> 4 neurons(classification problem0
Hope this resolved your doubt.
Plz mark the doubt as resolved in my doubts section.
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.