According to Wikipedia [1], “In artificial neural network, activation function of a node defines the output of that node given an input or set of inputs”. In a neural network there are three types of layers namely,

Input layer: This layer accepts and passes the inputs to the hidden layer.

Hidden layer: This layer/layers performs numerical computations on the inputs and passes it to the output layer.

Output layer: This layer gives the output of the neural network.

Activation functions are applied in the hidden and output layers. Neurons compute the weighted sum along with bias, activation function inputs this…


I am a data scientist. I write blogs related to machine learning.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store