How to decide the number of layers in a neural network model?


how to decide the number of layers in the model , how many Hidden layers we can have in a model


There is no checklist to do this or a right answer for this question. Its based on experimentation, case by case basis.

Ideally you can go with models available from research and when you work on specific problem/dataset, research more on what is failing for your dataset and try experimenting to make it to perform better or be robust and more. You will learn more with experimentation and building a intuition.
Courtesy- @PrajwalPrashanth