Artificial Neural Networks
Artificial Neural Networks
Dharmendra 306C
kumar maurya Branch & Sem: CSE 6th Sem.
Roll: 20CS41CL Assignment 5 Unit 5
1. Data Visualization: SOMs are often used for data visualization tasks, particularly for high-dimensional data.
By mapping the input data onto a low-dimensional grid of neurons, SOMs can reveal the underlying structure and
relationships in the data in a visually intuitive manner. Each neuron represents a cluster or a prototype, and the
spatial arrangement of neurons on the grid reflects the similarities and dissimilarities between the input patterns.
This visualization capability is useful for exploring and understanding complex datasets, identifying clusters and
patterns, and gaining insights into the data. It can be applied in fields such as market research, customer
segmentation, image analysis, and exploratory data analysis.
2. Clustering and Pattern Recognition: SOMs are widely used for clustering analysis, where they group
similar data points together based on their input similarities. The SOM's topological mapping of input patterns
allows for efficient clustering, as neighboring neurons tend to respond similarly to similar input patterns. Each
neuron represents a cluster or a prototype, and new data points can be assigned to the cluster represented by the
closest neuron.
SOMs can be used for pattern recognition tasks. Once trained on a specific dataset, the SOM can classify new input
patterns by assigning them to the cluster represented by the closest neuron. This makes SOMs useful for tasks such
as image recognition, speech recognition, text categorization, and anomaly detection. SOMs provide a powerful tool
for visualizing and analyzing complex data, uncovering underlying patterns and relationships, and performing
clustering and pattern recognition tasks. Their ability to organize and map high-dimensional data onto a low-
dimensional grid enables intuitive interpretation and efficient analysis of the data, making them valuable in various
domains.
Backpropagation: This is the most widely used learning algorithm for supervised learni g in ANNs. It
involves calculating the gradient of the network's error with respect to its weights and biases and adjusting
Unsupervised Learning
This type of learning is done without the supervision of a teacher. This learning process is
independent. During the training of ANN under unsupervised learning, the input vectors of similar
type are combined to form clusters. When a new input pattern is applied, then t e neuralh network
gives an output response indicating the class to which the input pattern belongs.
There is no feedback from the envir nmento as to what should be the desired output and if it is
correct or incorrect. Hence, in this type of learning, the network itself must discover the patterns and
features from the input data, and the relation for the input data over the output.
● Self-Organizing Maps (SOM): SOMs are a type of unsupervised learning algorithm that organizes input data
into a low-dimensional grid of neurons. The neurons compete to respond to input patterns
and adjust their weights to capture the underlying structure of the data.
● Hebbian Learning: This learning algorithm is based on the Hebbian principle, which states that
"neurons that fire together, wire together." It strengthens the connections between neurons that are active
simultaneously, thus promoting the learning of correlated input patterns and reinforcing relevant
connections.
Reinforcement Learning
This type of learning is used to reinf o rce or strengthen the network over some critic information. ed
This learning process is like supervi s learning; however, we might have very less information.
During the training of network under reinforcement learning, the network receiv s somee feedback
from the environment. This makes it somewhat like supervised learning. However, the feedback
u which means there is no teacher as in supervised
obtained here is evaluative not instr ctive,
learning. After receiving the feedback, the network performs adjustments of the weights to get better critic
information in future.
● Q-Learning: Q-Learning is a reinforcement learning algorithm that uses a value function (Q-function) to
estimate the expected rewards for different actions in a given state. The algorithm learns by
iteratively updating the Q-function based on the rewards received during exploration of the environment.
● Policy Gradient: This algorithm learns by directly optimizing the policy of the network, which
specifies the actions to take in different states. It uses gradient ascent to find the policy that maximizes the
expected cumulative reward.