Artificial Intelligence (AI) : Chapter 7 Artificial Neural Network
Artificial Intelligence (AI) : Chapter 7 Artificial Neural Network
Artificial Intelligence (AI) : Chapter 7 Artificial Neural Network
Artificial
Intelligence (AI)
Kecerdasan Buatan
Objective
Understanding of artificial neural
networks (ANNs) and fuzzy systems,
and their integration in realizing
information system.
Programming skill to realize
intelligent modern system controls.
Programming language are allowed
Visual Basic, C++, C# and Pascal.
Contents
1. Basics of neuroscience and neuron
models.
2. Feedforward and Recurrent neural
networks (NN).
3. ANN applications
References
Principles of neurocomputing for science &
engineering, Fredric M Hum, Ivica Kostanic,
McGraw-Hill Inc., 2001
Neuro-fuzzy and soft computing, JSR Jang,
CT Tsun, E. Mizutani, Prentice Hall Inc.,
1997.
Artificial Intelligence A Guide to Intelligent
Systems Second Edition, Michael
negnevitsky, Addison Wesley., 2005.
Introduction to Neural Networks fo C#, 2nd
Edition, Jeff Heaton, Heaton Research Inc,
2008
Other related book and selected journal
papers
Preview
A neural network is a massively parallel distributed
processor made up of simple processing units, which
has a natural propensity for storing experiential
knowledge and making it available for use. It
resembles the brain in two respects :
1. Knowledge is acquired by the network from its
environment through a learning process.
2. Interneuron
connection
strengths,
known
as
synaptic weight, are used to store the acquired
knowledge
Basics of Neuroscience 1
Sistem saraf manusia terdiri
dari jaringan luas elemen
komputasi (neuron) dengan
otak sebagai unit pusat.
Otak terhubung ke reseptor
yang membawa informasi
sensorik, dan memberikan
perintah untuk efektor.
Sebuah neuron biologis terdiri
tiga komponen utama:
dendrite, cell body, and axon.
Fungsi dari sistem saraf
diwakili oleh aktivitas neuron,
topologi koneksi, dan
kekuatan sistem saraf .
Electrical Engineering Computerized Control and Industrial Instrumentations
Basics of Neuroscience 2
Basics of Neuroscience 3
Architecture of a typical
artificial neural network
Basics of Neuroscience 4
Basics of Neuroscience 5
Synapses
The excitation of a neuron
affects other neurons through
contacts of synapses.
Small space between
presynaptic membrane and
postsynaptic membrane is
called synaptic cleft.
Communication between
neurons is facilitated by the
release of small packet
chemicals (neurotransmitter)
into the synaptic cleft.
Basics of Neuroscience 6
Classification on NN
Basics of Neuroscience 7
Synapse Characteristics
Potential changes cross
postsynaptic membranes
cause signals to propagate
along dendrites and cell
bodies of all neighboring
neurons.
Signal flow is unidirectional from presynaptic neuron to postsynaptic neuron.
Delay (0.5 to 2 ms) caused by mechanism of transmission across synaptic cleft
involved release, diffusion, and reception of neurotrasmitters.
Functioning of the synapse is very sensitive to overall physiological conditions of
the body and to drugs.
Synapse plasticity: facilitates or inhibits chemical synapses.
Synapses differ in shape, size, form, and effectiveness.
Electrical Engineering Computerized Control and Industrial Instrumentations
Basics of Neuroscience 8
Excitation and Inhibition
Excitatory synapse:
excitation of presynaptic
neuron contributes to
depolarization of postsynaptic
neuron.
Inhibitory synapse:
excitation of presynaptic
neuron contributes to
hyperpolarization of
postsynaptic neuron.
Basics of Neuroscience 9
Neuron Connection
Basics of Neuroscience 10
A neuron with 4 dendrites, each
receiving a signal via a single synapse
from a visual receptor.
Four synapse A,B,C, and D in increasing
distances from axon hillock.
Stimulation in the order ABCD does not
excite the neuron (b).
Stimulation in the order DCBA results
the four peaks reach axon hillock
simultaneously, and excites the
neuron. The neuron can detect the
direction and speed of motion (c.
Geometry / connection pattern has
impact on the function of neuron.
Basics of Neuroscience 11
Neural Network vs Computer
McCulloh-Pit Neuron
This model was proposed by Warren S
McCulloh and Walter Pitts, 1943.
This neuron model is a very simple twostate device.
Five physical assumptions regarding the
neuron model:
1. Activity of neuron is in binary state.
2. A certain number of fixed neuron
synapse must be excited within a
inhibition state
discrete time step to excite neuron
nw c
3. Delay is the time takes to broadcast the
1 if u
information on the synapse.
yq (k 1)
0 if u
4. Activity of any nonzero inhibitory
nm
synapse
will
absolutely
prevent
u wi xi (k )
excitation of neuron at that discrete
i 1
time step.
set = h w, h:integer
5. Structure of the network is fixed over
y will fire if h w
Electrical Engineering time.
Computerized Control and Industrial Instrumentations
xi wij y j i
j 1
1
yi
1 exp( xi )
1
n
1 exp[ xi ( wij y j i )]
j 1
2
yi
1
1 exp( xi )
2
n
1 exp[ xi ( wij y j i )]
j 1
dxi
xi
wij y j I i
C
dt
Ri
uq wqj x j wqT x xT wq
j 1
Activation potential
Nonlinear model of an ANN
vq wqj x j
j 0
vq uq q
Output of activation
function
n
yq f (vq )
yq f (vq ) f ( wqj x j q )
j 1
Activation Functions
A. Linear (identity) function
yq f lin (vq ) vq
Electrical Engineering Computerized Control and Industrial Instrumentations
Activation Functions
B1. Hard limiter function
0 if vq 0
yq f hl (vq )
1 if vq 0
1 if vq 0
yq f shl (vq ) 0 if vq 0
1 if v 0
q
Activation Functions
C1. Piecewise linear function
(saturating function)
0
if
v
1
1
1
yq f sl (vq ) vq if - vq
2
2
2
1
if
v
1 if vq 1
yq f ssl (vq ) vq if -1 vq 1
1 if v 1
q
Activation Functions
D1. Binary sigmoid function
1
yq fbs (vq )
vq
1 e
gbs (vq )
dfbs(vq )
dvq
vq
(1 e
vq 2
Activation Functions
Hyperbolic tangent sigmoid (bipolar
sigmoid) function
v
e q e q
yq f hts (vq ) tanh( vq ) vq
v
e e q
2 v
1 e q
2 v
1 e q
g hts (vq )
df hts
[1 f hts (vq )][1 f hts (vq )]
d vq
Assignment
1. Design random data classification
and 4 inputs AND, OR, XOR, XNOR
gate using ANN Error
Backpropagation.
Please submit assignment until March 3th
2014.
Format Report
1. Landasan Teori.
2. Metode Penyelesaian.
3. Analisa Program.
4. Kesimpulan.
Format project pada program vs C#
NPM_SKM_(No. Tugas)
LOGO