Introduction To Neural Networks
Introduction To Neural Networks
Neural Networks
Artificial neurons are simplified models of biological Activation functions introduce non-linearity into the
neurons. They receive inputs from other neurons, perform network, allowing it to learn more complex relationships
a weighted sum of these inputs, and then apply an in data. Common activation functions include:
activation function to produce an output. This output is
• Sigmoid: Outputs a value between 0 and 1
then transmitted to other neurons in the network.
• ReLU (Rectified Linear Unit): Outputs the input if
The weights associated with each input represent the it's positive and 0 otherwise
strength of the connection between neurons, analogous
• Tanh (Hyperbolic Tangent): Outputs a value
to synaptic weights in biological neurons.
between -1 and 1
Input Layer
The input layer receives raw data, such as images, text, or
numerical values, and represents it as a vector of features.
Hidden Layers
Hidden layers process the input features through multiple layers
of interconnected neurons. Each hidden layer learns increasingly
abstract representations of the data, allowing the network to
capture complex patterns.
Output Layer
The output layer produces the final prediction based on the
learned representations from the hidden layers. The output can
take various forms, such as class labels, probabilities, or
continuous values.
Backpropagation Algorithm
1 Forward Pass
The forward pass involves propagating the input signal through
the network, from the input layer to the output layer,
calculating the output for each neuron.
2 Error Calculation
The error, or difference between the network's prediction and
the actual target value, is calculated for each output neuron.
3 Backward Pass
The error signal is propagated backward through the network,
from the output layer to the input layer, adjusting the weights
of each neuron to minimize the overall error.
Convolutional Neural
Networks
Convolutional Layers Pooling Layers
Convolutional layers extract Pooling layers reduce the
features from the input data, dimensionality of feature maps,
such as images, using downsampling them while
convolutional filters. These filters retaining important features. This
slide across the input data, process helps to reduce
detecting patterns and creating computational cost and prevent
feature maps. overfitting.
Type Description