Neural Networks
Neural Networks
NEURAL
NETWORK
By
D r. A n j u B h a n d a r i G a n d h i , P r o f e s s o r, C S E
INTRODUCTION TO
ARTIFICIAL NEURAL
NETWORKS
UNIT-1
(ANN)
Outline
Artificial Neuron
Applications of ANN
lion
bird
What is that?
Neural networks to the rescue…
5
Definition of ANN
“Data processing system consisting of a
large number of simple, highly
interconnected processing elements
6
Collect data. Create the network Configure the
— Create Neural network — Configure
Network Object. Shallow Neural
Network Inputs and
Outputs.
8
Biological Neural Networks
Biological neuron
Biological Neural Networks
Several key features of the processing elements of ANN are suggested by the properties
of biological neurons:
An artificial neuro11n
Artificial Neurons
Four basic components of a human biological The components of a basic artificial neuron
neuron
14
Model Of A Neuron
Wa
X1
Wb Y
X2 f()
Wc
X3
16
• Each neuron has an internal
state, called its activation or
activity level, which is a
function of the inputs it has
received. Typically, a neuron
sends its activation as a signal
to several other neurons.
18
Artificial Neural Network
Synapse Nukleus
x1 w1
y
Axon
x2 w2 Activation Function:
yin = x1w1 + x2w 2 (y-in) = 1 if y-in >=
and (y-in) = 0
Dendrite
-A neuron receives input, determines the strength or the weight of the input, calculates the total
weighted input, and compares the total weighted with a value (threshold)
- If the total weighted input greater than or equal the threshold value, the neuron will produce the
output, and if the total weighted input less than the threshold value, no output will be produced
19
Limitations
McCulloch- Perceptron
(Minsky,
Pitts neurons (Rosenblatt)
Papert)
study)
Adaline, Kohonen nets,
Hebb‟s law better associative
learning rule memory
(Widrow,
Huff)
20
Neocognitron,
character
Brain State in a ART (Carpenter, recognition
Box (Anderson) Grossfield) (Fukushima)
1982 1986
21
Characterization
a pattern of connections
between neurons
Architecture • Single Layer Feedforward
• Multilayer Feedforward
• Recurrent
22
Single Layer Feedforward NN
x1 w11
w12 ym
w21
yn
x2
w22
output layer
Input layer
x2 z2
• y2
•
•
• zn
xm Vmn
Input layer Output layer
Hidden layer
Contoh: CCN, GRNN, MADALINE, MLFF with BP, Neocognitron, RBF, R2C3E
Recurrent NN
Input Outputs
Hidden nodes
26
Targets are not provided
27
Reinforcement
Learning
29
Exercise
• 2 input AND • 2 input OR
1 1 1 1 1 1
1 0 0 1 0 1
0 1 0 0 1 1
0 0 0 0 0 0
30
x1 w1= 0.5
y
x2 w2 = 0.3
Activation Function:
yin = x1w1 + x2w 2 Binary Step Function
= 0.5,
31
Where can neural
network systems help…
33
Problem Domains
Classification
STOP
01 10
Neural
11
Net 11 10 00 00 11 Input patterns
00
Input layer
Output layer
00 01 10 11
Sorted
00 10 11 pa. tterns
00 11 34
Clustering
00 11
10
11 10
00 11
00
01
35
ANN Applications
Medical Applications
Information
Searching & retrieval
Chemistry
Education
Business & Management
Applications of ANNs
Pattern recognition,
Diagnosis or
e.g. handwritten
Signal processing mapping symptoms
characters or face
to a medical case.
identification.
38
Abdominal Pain Prediction
Intensity Duration
Male Age Temp WBC Pain Pain
adjustable
1 20 37 10 1 1
weights
39
Voice Recognition
40
Educational Loan
Forecasting
System
41
Advantages Of NN
It can model non-linear INPUT-OUTPUT
NON-LINEARITY
systems MAPPING
It can provide a
EVIDENTIAL
confidence level to a
RESPONSE
given solution
42
Advantages Of NN
•CONTEXTUAL INFORMATION
•Knowledge is presented by the structure of the network. Every
neuron in the network is potentially affected by the global
activity of all other neurons in the network. Consequently,
contextual information is dealt with naturally in the network.
•FAULTTOLERANCE
•Distributed nature of the NN gives it fault tolerant capabilities
•NEUROBIOLOGY ANALOGY
•Models the architecture of the brain 43
Comparison of ANN with conventional AI methods
44
Linear Separability Problem