...

/

Feed Forward Propagation

Feed Forward Propagation

Learn about the feedforward operation in a neural network.

We know what is forward propagation while calculating the predicted value for the perceptron algorithm.

Feedforward in a neural network

Feedforward is the process that is used by neural networks to turn the given input into an output.

We have learned that the neural network is a combination of perceptrons. The perceptrons in each layer compute the output, apply the activation function, and will pass the information to the next layer. This process continues until the output layer is reached. In short, each node feeds the information it has to the next node. For this reason, it is called a feed-forward propagation algorithm.

Visualize feedforward propagation

The following illustration shows a feedforward propagation algorithm using a neural network with a hidden layer comprising of two hidden units as seen below:

The above illustration shows forward propagation for a single data point. In general, we should do the forward pass for every data point. The value in the last layer is the modelโ€™s prediction for that data point.

๐Ÿ“Note: By using the perceptron equation, it computes the net output.

๐Ÿ“Note: By applying the activation function to the net output, it computes the activated output.

The activation function used in the illustration above is sigmoidsigmoid (ฯƒ).

The feedforward operation is a multiply and add process which is a dot product in vector algebra.

Visualize this in the illustration below:

๐Ÿ“ Note: In the above illustration, bias is added in the weightโ€™s vector array. However, we can create a separate bias array. ...

Access this course and 1400+ top-rated courses and projects.