## Explain Deep Neural network and Shallow neural networks?

**Ans:** Shallow neural networks give us basic idea about deep neural network which consist of only 1 or 2 hidden layers. Understanding a shallow neural network gives us an understanding into what exactly is going on inside a deep neural network A neural network is built using various hidden layers. Now that we know the computations that occur in a particular layer, let us understand how the whole neural network computes the output for a given input ** X**. These can also be called the

**equations.**

*forward-propagation*- The first equation calculates the intermediate output
of the first hidden layer.*Z[1]* - The second equation calculates the final output
of the first hidden layer.*A[1]* - The third equation calculates the intermediate output
of the output layer.*Z[2]* - The fourth equation calculates the final output
of the output layer which is also the final output of the whole neural network.*A[2]*

Share: