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 forward-propagation equations.
- The first equation calculates the intermediate output Zof the first hidden layer.
- The second equation calculates the final output Aof the first hidden layer.
- The third equation calculates the intermediate output Zof the output layer.
- The fourth equation calculates the final output Aof the output layer which is also the final output of the whole neural network.