Member-only story

How many layers are typically found in a neural network?

Understanding the Layers in a Neural Network

Mark Kara
5 min readSep 6, 2024

This article is the series of Path to a High-Paying AI Jobs: Key Interview Questions and Expert Answers Index Article. You can find Key Interview Questions that are highly asked on High-Paying AI Job Interviews and links to expert answer articles from that page.

In neural networks, the number of layers plays a crucial role in determining the complexity, depth, and capacity of the model to learn from data. The layers in a neural network are composed of interconnected nodes, or neurons, that process inputs and pass the output to the next layer. A neural network generally consists of three types of layers:

Input Layer: This is the first layer in the network that receives the raw data. The number of neurons in the input layer depends on the number of features or attributes in the input data. For instance, in image processing, if the input is a 28x28 pixel grayscale image, the input layer would have 784 neurons (28*28).

Hidden Layers: Hidden layers are the intermediate layers between the input and output layers. These layers perform the actual computations by applying weights and activation functions to the inputs. They are called “hidden” because their outputs are not directly observed. The number of…

--

--

Mark Kara
Mark Kara

Written by Mark Kara

amazon.com/author/markkara Salesforce Marketing Cloud Technical Architect who writes on Technology, Data Science, Finance , Management and who creates Puzzles.

Responses (1)