🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

"How many hidden layers should be used in Neural Net?"

User: "vjmeena"
New Altair Community Member
Updated by Jocelyn
Is there any method by which I can check that this many Hidden layers and Neurons are best suitable for this model?

Find more posts tagged with

Sort by:
1 - 1 of 11
    User: "varunm1"
    New Altair Community Member
    Accepted Answer
    Updated by varunm1
    Hi @vjmeena

    There is no thumb rule for a number of layers in neural networks. In my works, I generally build complex neural networks (with more layers) if there are many data samples. For, small datasets neural net with fewer layers would suffice. Try different combinations and observe the performance metrics. Based on that you can see which is best.  

    You can also try AutoMLP which gets an optimal number of neurons based on training different networks in parallel. 

    Performance of neural nets is mainly influenced by parameters like activation functions, learning rates, drop out etc.