Understanding Neural Networks Basics
Understanding Neural Networks Basics
Neural networks
Plan
The perceptron.
The weights
x1:Entry 1 The transfer function
x1 w1
Or activation
y : Output
f(x)
x2Entry 2
x2 w2
X1 w1
X2 w2 g
w3
X3
w4 Σf Y
X4 wn
Xn
Basic concepts
g = ∑ WiXI X2 w2 g
Wi: w3
Weight of the
X3
w4
Σf Y
connection to X4 wn
the entry i.
•Xi: Xn
Signal of the input i. FUNCTION
of
COMBINATION
Basic concepts
Modeling of the neuron
The function of X4 wn
transfer 'f' can
to have several Xn
forms.
FUNCTION
of TRANSFER
Basic Concepts
Step function.
Y = f(g)
+1
g
THRESHOLD
-1
Basic notions
+1
g
THRESHOLD
-1
Basic Concepts
+1
g
THRESHOLD
-1
Basic concepts
Types of learning
The purpose of neural networks is to learn to respond correctly to
different entries.
Method: modification of weights through supervised learning, or not
supervised.
Supervised learning:an 'instructor' system
correct the incorrect answers.
error
Types of learning
Types of learning
Supervised learning (e.g., OCR)
Imposed association between
an input vector (shape
multidimensional) and a
output vector (the
desired response.
NETWORK b
c
Σf
d
z
Basic concepts
Types of learning
Unsupervised learning
No indication of errors.
The network detects the characteristics
common from different entrances.
He thus tries to form 'classes' of
in an autonomous way.
He learns to give answers to
classes
Neural networks
The perceptron
The perceptron
USE
LEARNING of the NETWORK
PHASE 1 PHASE 2
The perceptron
The perceptron is a
X1 w +1
linear classifier 1
He is making a score of his. X g
2 w2 ↑
input space (X1,…,Xn) in
two or more classes C1, w3
... linear separable Cm.
X3
w4 Σf Y
-1
The perceptron
X1
In the case of the OR function,
a line always allows the + +
separation of the two classes.
X2
For two classes:
C1 (Y = +1): – +
•{(+1;+1); (+1;-1);(-1;+1)}
-C2 (Y = -1):
•(-1;-1) logical OR
The perceptron
Part plan
Neural networks
formulas
Learning of a network
multilayer
The learning algorithm
Multilayer networks with error backpropagation
F(x)
UNIQUE COUCH
F(x)
F(x)
F(x)
F(x)
F(x)
F(x)
LAYING OUT
F(x)
F(x) ?
F(x)
F(x)
BED LAYING OUT
CACHEE
BED IN ENTRY
The inputs to the networks are either outputs from other neurons or direct inputs.
in the network (for example, pixels).
Multilayer networks with backpropagation of error
ACTIVATION
ACTIVATION
F(x) E
F(x) F(x) R
R
F(x) E
F(x) F(x) U
R
F(x) LAYER Bedding Out
CACHEE
Couch in entry CORRECTION
CORRECTION of the ERROR
of the ERROR
Multilayer networks with error backpropagation
W Z
x1 F(x) E
F(x) R
R
x2 F(x) E
F(x) U
R
xn
h
F(x)
LAY
x The neurons o
ENTREES OUTFIT LAYING
I J neurons
Multi-layer networks with error backpropagation
•f(x)and itsederivative
x
1: e x
f(x)1 f(x)
1 e
x 2
1 e 1 e
x x
Multilayer networks with error backpropagation
product each(from
cellHadamar)
(a strong of activation
two matricesis
f(Zh):more harmful
k intensity than a weak
of output activation).
cell activation
Multilayer networks with backpropagation of error
Wt1 W t . hidden,k .x T
k W W
tt
Neural networks
Summary of the module
Retro-
NEURON propagation of
Perceptron : the error:
principle of =
Combination estimation of
separability the mistake in
linear +
Transfer hidden couches