UNIT1 NN 2023ver1
UNIT1 NN 2023ver1
UNIT1 NN 2023ver1
Introduction to ANN
INTRODUCTION
• The term "Artificial neural network" refers to a biologically inspired
sub-field of artificial intelligence modeled after the brain.
• An Artificial neural network is usually a computational network based
on biological neural networks that construct the structure of the
human brain.
• Similar to a human brain has neurons interconnected to each other,
artificial neural networks also have neurons that are linked to each
other in various layers of the networks.
.
● Artificial Neural Networks
● Artificial Neural Networks contain artificial neurons which are
called units. These units are arranged in a series of layers that
together constitute the whole Artificial Neural Network in a system.
A layer can have only a dozen units or millions of units as this
depends on how the complex neural networks will be required to
learn the hidden patterns in the dataset.
.
● An Artificial Neural Network in the field of Artificial
intelligence where it attempts to mimic the network of neurons
makes up a human brain so that computers will have an option to
understand things and make decisions in a human-like manner.
● The artificial neural network is designed by programming
computers to behave simply like interconnected brain cells.
.
● there are around 1000 billion neurons in the human brain.
● Each neuron has an association point somewhere in the range of
1,000 and 100,000.
● In the human brain, data is stored in such a manner as to be
distributed, and we can extract more than one piece of this data
when necessary from our memory parallelly.
● We can say that the human brain is made up of incredibly amazing
parallel processors.
.
● What is Artificial Neural ● .
Network?
● The term "Artificial Neural
Network" is derived from
Biological neural networks that
develop the structure of a
human brain. Similar to the
human brain that has neurons
interconnected to one another,
artificial neural networks also
have neurons that are
interconnected to one another
ADVANTAGES OF NEURAL NETWORKS
● Self-organization: An ANN can generate its
own representation of the information that it
receives at the time of learning.
● Real-Time Operation: Real-Time Operation:
Neural networks can perform calculations
simultaneously, allowing for real-time
operation in certain applications.
● Adaptive learning: Capability to learn how to
solve tasks is based on the data given for the
training set.
● Redundant Information Coding Through Fault
Tolerance: Redundant Information Coding
Through Fault Tolerance: Neural networks can
exhibit fault tolerance, meaning they can still
function even if some parts of the network are
damaged or destroyed.
APPLICATION SCOPE OF NEURAL
NETWORKS
● Neural networks, specifically artificial neural networks (ANNs), have
a broad application scope across various domains. Here are some
notable areas where neural networks are commonly applied:
● Computer Vision: Neural networks are extensively used in
computer vision tasks, such as image classification, object
detection, image segmentation, facial recognition, and video
analysis. Convolutional Neural Networks (CNNs) are particularly
popular in this domain due to their ability to learn hierarchical
representations of visual data.
APPLICATION SCOPE OF NEURAL
NETWORKS
● Natural Language Processing (NLP): Neural networks play a crucial role in NLP tasks, including
sentiment analysis, text classification, machine translation, named entity recognition, question
answering, and language generation. Recurrent Neural Networks (RNNs) and Transformer models
have significantly advanced the performance in these areas.
● Speech and Audio Processing: Neural networks are utilized in speech recognition, speech synthesis,
speaker identification, music generation, and audio classification tasks. Recurrent Neural Networks
(RNNs) and Convolutional Neural Networks (CNNs) are commonly employed for analyzing and
generating speech and audio signals.
● Recommendation Systems: Neural networks are employed in recommendation systems to provide
personalized recommendations for products, movies, music, and more. Collaborative filtering
techniques and deep learning architectures are used to model user preferences and make accurate
recommendations.
APPLICATION SCOPE OF NEURAL
NETWORKS
● Time Series Analysis and Forecasting: Neural networks, particularly Recurrent
Neural Networks (RNNs) and Long Short-Term Memory (LSTM) networks, are used
for time series analysis, forecasting, and modeling. They can capture temporal
dependencies and make predictions based on historical data, finding applications in
finance, weather prediction, stock market analysis, and more.
● Robotics and Control Systems: Neural networks are employed in robotics and
control systems to enable intelligent decision-making, motion planning, and control.
They can learn to navigate complex environments, manipulate objects, and perform
tasks requiring perception and action coordination.
● Anomaly Detection: Neural networks are used for anomaly detection in various
domains, including network security, fraud detection, manufacturing, and
healthcare. They can learn normal patterns from data and identify deviations or
outliers, enabling the detection of unusual or suspicious behavior.
APPLICATION SCOPE OF NEURAL
NETWORKS
● Healthcare: Neural networks have applications in various healthcare areas, including
disease diagnosis, medical imaging analysis, drug discovery, genomics, and
personalized medicine. They can aid in diagnosing diseases, identifying medical
conditions from medical images, predicting treatment outcomes, and discovering
potential drug candidates.
● Financial Analysis: Neural networks are used in financial institutions for tasks such
as credit scoring, fraud detection, algorithmic trading, and risk assessment. They can
analyze large volumes of financial data, identify patterns, and make predictions or
decisions based on market trends and risk factors.
● Gaming and Simulation: Neural networks have been applied in gaming and
simulation for tasks like game playing, character animation, and game level
generation. They can learn strategies, simulate virtual environments, and generate
content to enhance the gaming experience
Artificial Neural Networks
● Artificial Neural Network has an input
layer, an output layer as well as hidden
layers.
● The input layer receives data from the
outside world which the neural
network needs to analyze or learn
about.
● Then this data passes through one or
multiple hidden layers that transform
the input into data that is valuable for
the output layer.
● Finally, the output layer provides an
output in the form of a response of the
Artificial Neural Networks to input data
provided.
Neuron
● Each neuron has an internal state, which
is called an activation signal.
● Output signals, which are produced
after combining the input signals and
activation rule, may be sent to other
neurons
Working of Neuron
● Let there are two neurons X and Y which is
transmitting signal to another neuron Z .
● Then , X and Y are input neurons for
transmitting signals and Z is output neuron for
receiving signal .
● The input neurons are connected to the
output neuron , over a interconnection links
( A and B ) as shown in figure .
In neuron architecture, the net input has to be
.
●
calculated in the way.
I = xA + yB
where x and y are the activations of the input
neurons X and Y.
A and B are Weights
The output neuron Z can be obtained by applying
activations over the net input.
O = f(I)
Output = Function ( net input calculated )
Each neuron has internal state of its own, it is
called activation
The function to be applied over the net input is
called activation function .
The main purpose of the activation function is to
convert the weighted sum of input signals of a
neuron into the output signal.
Neural net of pure linear equation
● The above calculation of
netinput is similar to the
calculation of output of a pure
linear equation(y=mx).
● To obtain the output y, the
slope m directly applied with
the input signal.
● Y = mx
Biological Neural Network
● Neurons are the fundamental unit of the
nervous system. Neurons are also called as
nerve cells.
● The main function of the neurons is to pass the
receiving information and send appropriate
signals to the rest parts of the body.
● The signals received are in the form of
electrical signals. Neuron comprises of
dendrite, axon and cell body.
● Dendrites receives messages from the
surrounding and sends it to the cell body.
● Cell body consists of nucleus, mitochondria
and other organelles.
● Axon transmits the message away from the cell
body and pass it to the the next receiving
neuron.
Biological neural network and artificial neural
network:
Biological neural network and artificial neural
network:
● A biological neuron receives its input signals
from other neurons through dendrites (small
fibers). Likewise, a neuron receives its data
from other neurons through input
neurons that take numbers.
● The connection points between dendrites
and biological neurons are called synapses.
Likewise, the connections between inputs and
neurons are called weights. They measure the
importance level of each input.
● In a biological neuron, the nucleus produces an
output signal based on the signals provided by
dendrites. Likewise, the nucleus (colored in
blue) in a neuon performs some calculations
based on the input values and produces an
output.
● Axon
● Axon is a tube-like structure that carries
Biological neural network and artificial neural
network:
● In a biological neuron, the ● .
output signal is carried away by
the axon. Likewise, the axon in
a neuron is the output
value which will be the input
for the next neurons.
Relationship between Biological neural network and artificial
neural network: