Session 0 ML
Session 0 ML
In simple words, Neural Networks are a set of algorithms that tries to recognize the patterns,
relationships, and information from the data through the process which is inspired by and
works like the human brain/biology.
• Input layer
• Hidden layer
• Output layer
Hidden Layer: Hidden layer is the set of neurons where all the computations are performed on
the input data. There can be any number of hidden layers in a neural network. The simplest
network consists of a single hidden layer.
Output layer: The output layer is the output/conclusions of the model derived from all the
computations performed. There can be single or multiple nodes in the output layer. If we have
a binary classification problem the output node is 1 but in the case of multi-class classification,
the output nodes can be more than 1.
Dendrites Inputs
Synapse Weights
Axon Output
performed .
x1,x2,x3,….xn is passed.
2. Each hidden layer consists of neurons. All the inputs are connected to
each neuron.
W1 , W2 , W3 , W4 , W5 are the weights assigned to the inputs In1 , In2 , In3 , In4, In5,
and b is the bias.
5. After getting the predictions from the output layer, the error is calculated
i.e the difference between the actual and the predicted output.
If the error is large, then the steps are taken to minimize the error and for the same
purpose, Back Propagation is performed.
The weights are updated with the help of optimizers. Optimizers are the methods/
mathematical formulations to change the attributes of neural networks i.e weights to
minimize the error.
activated or not based on whether the neuron’s input is relevant for the