Neural Networks Neural Networks
Neural Networks Neural Networks
TECHNICAL COLLEGE
Neural
Neural Networks
Networks
www.ptcdb.edu.ps
Neural Networks
Chapter 1 – Introduction
CHAPTER
CHAPTER11 Introduction Neural
NeuralNetworks
Networks
Despite of being built with very slow hardware, the brain has
quite remarkable capabilities:
Its performance tends to degrade gracefully under partial
damage.
In contrast, most programs and engineered systems are
brittle: if you remove some arbitrary parts, very likely the whole
will cease to function.
It can learn (reorganize itself) from experience.
This means that partial recovery from damage is
possible if healthy units can learn to take over the functions
previously carried out by the damaged areas.
It performs massively parallel computations extremely
efficiently. For example, complex visual perception occurs
within less than 100 ms, that is, 10 processing steps!
It supports our intelligence and self-awareness. (Nobody
knows yet how this occurs.) 4
CHAPTER
CHAPTER11 Introduction Neural
NeuralNetworks
Networks
1014 parallel,
10-6 m 30 W 100 Hz yes yes usually
synapses distributed
108 30 W serial,
10-6 m 109 Hz no a little not (yet)
transistors (CPU) centralized
5
CHAPTER
CHAPTER11 Introduction Neural
NeuralNetworks
Networks
6
CHAPTER
CHAPTER11 Introduction Neural
NeuralNetworks
Networks
Prediction:
Future stock prices
Future currency exchange rates
Function Approximation 8
CHAPTER
CHAPTER11 Introduction Neural
NeuralNetworks
Networks
Biological Neuron
Each neuron has a body, an axon, and many dendrites:
- Can be in one of the two states: firing and rest.
- Neuron fires if the total incoming stimulus exceeds the threshold.
Synapse: thin gap between axon of one neuron and dendrite of another:
Dendrites:
The dendrites are receptors for signals generated
by other neurons.
Receiving information.
Don't generate action potentials.
Cell body: axon
Sum and threshold the incoming information. body
Axon:
dendritic
Generate and relay action potential. tree
Relays information to next neuron in the
pathway. 9
CHAPTER
CHAPTER11 Introduction Neural
NeuralNetworks
Networks
10
CHAPTER
CHAPTER11 Introduction Neural
NeuralNetworks
Networks
11
CHAPTER
CHAPTER11 Introduction Neural
NeuralNetworks
Networks
Some Terminologies
13
CHAPTER
CHAPTER11 Introduction Neural
NeuralNetworks
Networks
Transfer Function
General Neuron
The transfer function may be linear or
nonlinear function of n. w n a
p Σ f
b
a f ( n) f ( wp b)
1
14
CHAPTER
CHAPTER11 Introduction Neural
NeuralNetworks
Networks
15
CHAPTER
CHAPTER11 Introduction Neural
NeuralNetworks
Networks
16
CHAPTER
CHAPTER11 Introduction Neural
NeuralNetworks
Networks
n = Wp + b a = f(Wp + b)
17
CHAPTER
CHAPTER11 Introduction Neural
NeuralNetworks
Networks
p1 b1 a1
p = p2 b = b2 a = a2
pR bS aS 18
CHAPTER
CHAPTER11 Introduction Neural
NeuralNetworks
Networks
19
CHAPTER
CHAPTER11 Introduction Neural
NeuralNetworks
Networks
20
CHAPTER
CHAPTER11 Introduction Neural
NeuralNetworks
Networks
21
CHAPTER
CHAPTER11 Introduction Neural
NeuralNetworks
Networks
In this particular network the vector p supplies the initial conditions (a(0) = p).
22