Professional Documents
Culture Documents
Topic 3i - Artificial Neural Networks - Revised 20032020
Topic 3i - Artificial Neural Networks - Revised 20032020
Topic 3i - Artificial Neural Networks - Revised 20032020
Intelligence Algorithms
Topic 3i – Artificial Neural Networks
Faculty of Computer & Mathematical Sciences
Universiti Teknologi MARA
A. Introduction: Objectives
• To understand:
• The similarities between biological neuron and artificial
neuron;
• How artificial neural network learns;
• The difference between machine learning and deep
learning;
• The application of machine learning and deep learning.
A. Introduction: Human Intelligence
A. Introduction: Artificial Intelligence
A. Introduction: AI, Machine Learning & Deep
Learning
A. Introduction: How the Brain Works?
• Machine learning: adaptive mechanisms that enable computers to
learn from experience, learn by example and learn by analogy
• Learning capabilities can improve the performance of an intelligent
system over time
• The most popular approaches to machine learning are artificial neural
networks and genetic algorithms
A. Introduction: How the Brain Works? (cont)
• A neural network can be defined as a model of reasoning based on
the human brain.
• The brain consists of a densely interconnected set of nerve cells, or
basic information-processing units, called neurons.
• The human brain incorporates nearly 10 billion neurons and 60 trillion
connections, synapses, between them.
• By using multiple neurons simultaneously, the brain can perform its
functions much faster than the fastest computers in existence today
A. Introduction: How the Brain Works? (cont)
• Biological neurons
A. Introduction: How the Brain Works? (cont)
• A neural network can be defined as a model of reasoning based on
the human brain.
• The brain consists of a densely interconnected set of nerve cells, or
basic information-processing units, called neurons.
• The human brain incorporates nearly 10 billion neurons and 60 trillion
connections, synapses, between them.
• Each neuron has a very simple structure
• Soma : cell body
• Dendrites : fibers that accept input from environment
• Axon : single long fiber that sends output to other neurons
A. Introduction: What is Artificial Neural
Network?
• An Artificial Neural Network (ANN) is an information processing
paradigm that is inspired by the way biological nervous systems, such
as the brain, process information.
• The key element of this paradigm is the novel structure of the
information processing system.
• It is composed of a large number of highly interconnected processing
elements (neurones) working in unison to solve specific problems.
• The neurons are connected by weighted links passing signals from
one neuron to another
A. Introduction: What is Artificial Neural
Network? (cont)
• ANNs, like people, learn by example. An ANN is configured for a
specific application, such as pattern recognition or data classification,
through a learning process.
• Learning in biological systems involves adjustments to the synaptic
connections that exist between the neurones. This is true of ANNs as
well
A. Introduction: Analogy between Biological and
Artificial Neural Networks
A. Introduction: Architecture of a Typical
Artificial Neural Network
B. Neuron: Simple Computing Element
• A neuron is the basic building element of an ANN
• First, the neuron computes the weighted sum of the input
signals, X
B. Neuron: Simple Computing Element (cont)
• Next, the neuron compares the result X with a threshold
value, θ to get the final output Y. Example:
• If the net input is less than the threshold, the neuron output gets value of -1
• But if the net input is greater than or equal to the threshold, the neuron
becomes activated and gets value of +1
1
D. Multilayer Neural Networks: Question
Example – Solution (cont)
• Calculate the value of N3:
0
• N3 = x1(w1) + x2(w2) 1
• = 1(1) + 1(2)
• =3,≤4
• ∴Y=0
1
2.5
0
1.5
0
1.5
• = 0(2) + 0(1)
2.5
• =0,≤4 0
• ∴Y=0 0
1.5
• Error is: 0-0 = 0, no adjustment to the weight.
• Finish Epoch 1