Académique Documents
Professionnel Documents
Culture Documents
lapprentissage supervis
Ricco RAKOTOMALALA
Ricco Rakotomalala
Tutoriels Tanagra - http://tutoriels-data-mining.blogspot.fr/
Mtaphore biologique
Fonctionnement du cerveau
Transmission de linformation et apprentissage
Entres
Descripteurs
X2
X3
Y {1 ( +),0 ()}
Couche de sortie
Fonction de transfert
Fonction seuil -- Fonction de Heaviside
X0 =
1
X1
a0
a1
1
0
a2
a3
Poids synaptiques
d(X )
d ( X ) = a0 + a1 x1 + a2 x2 + a3 x3
Si d ( X ) > 0 Alors Y = 1 Sinon Y = 0
X2
X3
a0
a1
a2
a3
loptimisation ?
Ricco Rakotomalala
Tutoriels Tanagra - http://tutoriels-data-mining.blogspot.fr/
X1
X2
1.1
0.9
0.7
0.5
0.3
0.1
-0.1
-0.3
-0.5
-0.5
Donnes
0.5
1.5
Principales tapes :
1.
2.
3.
4.
a j a j + a j
avec
a j = ( y y )x j
1
0
-0.5
0.5
Force du signal
1.5
Erreur
-2
-4
-6
Constante dapprentissage
Dtermine sil
faut ragir ou
non
Ricco Rakotomalala
Tutoriels Tanagra - http://tutoriels-data-mining.blogspot.fr/
x0 = 1
x = 0
1
x2 = 0
y = 0
Appliquer le modle
Mj des poids
a0 = 0.1 ( 1) 1 = 0.1
a1 = 0.1 ( 1) 0 = 0
a = 0.1 ( 1) 0 = 0
2
Nouvelle frontire :
1
0
-0.5
0.5
1.5
-2
-4
-6
Ricco Rakotomalala
Tutoriels Tanagra - http://tutoriels-data-mining.blogspot.fr/
x0 = 1
x = 1
1
x2 = 0
y = 0
Appliquer le modle
Mj des poids
a0 = 0.1 ( 1) 1 = 0.1
a1 = 0.1 ( 1) 1 = 0.1
a = 0.1 ( 1) 0 = 0
2
Nouvelle frontire :
1
0
-0.5
0.5
1.5
-2
-4
-6
Ricco Rakotomalala
Tutoriels Tanagra - http://tutoriels-data-mining.blogspot.fr/
Appliquer le modle
x0 = 1
x = 0
1
x2 = 1
y = 0
Mj des poids
a0 = 0.1 (0 ) 1 = 0
a1 = 0.1 (0 ) 0 = 0
a = 0.1 (0 ) 1 = 0
2
Pas de correction ici ? Pourquoi ?
Voir sa position dans le plan !
Nouvelle frontire :
Convergence ?
1
0
-0.5
0.5
1.5
(1)
-2
-4
-6
(2)
(3)
(4)
(5)
Ricco Rakotomalala
Tutoriels Tanagra - http://tutoriels-data-mining.blogspot.fr/
Fonction de transfert
Fonction seuil -- Fonction de Heaviside
Fonction de transfert
Fonction sigmode Fonction logistique
1
0
d(X )
d(X )
1
1 + e v
v = d(X )
g (v ) =
La rgle de dcision devient : Si g(v) > 0.5 Alors Y=1 Sinon Y=0
Ricco Rakotomalala
Tutoriels Tanagra - http://tutoriels-data-mining.blogspot.fr/
10
X2
X3
a0
Sortie du rseau
a1
y = g (v ) = f [d ( x )]
a2
a3
1
E =
2
( y ( ) y ( ) )
11
Descente du gradient
Fonction de transfert
sigmode drivable
Optimisation : drivation de la
fonction objectif par rapport
aux coefficients
E
= [ y ( ) y ( )] g '[v( )] x j ( )
a j
i
a j a j + ( y y ) g ' ( v ) x j
Ricco Rakotomalala
Tutoriels Tanagra - http://tutoriels-data-mining.blogspot.fr/
12
yk = 1 ssi y = yk
y1
X0 =
1
y k = g[vk ]
X1
y 2
X2
avec
(3) P(Y/X)
y 3
X3
P(Y = yk / X ) g[vk ]
13
volution
erreur
Poids
14
X1
X2
1.3
0.9
1.1
0.7
(1)
0.5
0.3
0.1
- 0.1
- 0.3
- 0.5
Donnes
X0 =
1
(2)
- 0.5
0.5
1.5
X0=
1
X1
X2
(Rumelhart, 1986)
Perceptron Multi-Couches (PMC)
X3
Couche dentre
Couche de sortie
Ricco Rakotomalala
Tutoriels Tanagra - http://tutoriels-data-mining.blogspot.fr/
15
Passage C.Entre
C.Cache
v1 = a0 + a1 x1 + a2 x2 + a3 x3
v2 = b0 + b1 x1 + b2 x2 + b3 x3
Sortie de la C.Cache
X0 =
1
X0=
1
X1
1
1 + e v1
1
u 2 = g (v2 ) =
1 + e v2
u 1 = g ( v1 ) =
Passage C.Cache
X2
C.Sortie
z = c 0 + c1u 1 + c 2 u 2
X3
Sortie du rseau
y = g ( z ) =
1
1 + ez
16
X0=
1
X1
En sortie : Erreur mesure (pour un individu)
X2
X3
17
x2
1
negatif
positif
X0=1
X1
X0=1
-0.76
45.03
-20.10
21.46
27.00
-11.32
X2
-36.83
-38.95
17.68
u1 vs. u2
Control variable : Y
1
0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 0.5 0.55 0.6 0.65 0.7 0.75 0.8 0.85 0.9 0.95
u2
x1
negatif
positif
u1
0
1
Ricco Rakotomalala
Tutoriels Tanagra - http://tutoriels-data-mining.blogspot.fr/
18
Ricco Rakotomalala
Tutoriels Tanagra - http://tutoriels-data-mining.blogspot.fr/
19
Rfrences
Neural network
Tutorial slides of Andrew Morre
http://www.autonlab.org/tutorials/neural.html
Apprentissage partir dexemples
Notes de cours F. Denis & R. Gilleron Lille 3
http://www.grappa.univ-lille3.fr/polys/apprentissage/
Machine Learning
Tom Mitchell, Ed. Mc Graw-Hill International, 1997.
Rseaux de neurones sur WIKIPEDIA
Rseaux de neurones Mthodologie et Applications
Sous la direction de Grard Dreyfus, Ed. Eyrolles, 2004.
Ricco Rakotomalala
Tutoriels Tanagra - http://tutoriels-data-mining.blogspot.fr/
20