| ... | @@ -276,23 +276,13 @@ En revanche, pour l'entrée 7, la sortie désirée est 1 mais la sortie réelle |
... | @@ -276,23 +276,13 @@ En revanche, pour l'entrée 7, la sortie désirée est 1 mais la sortie réelle |
|
|
On applique donc la règle de Hebb étendue :
|
|
On applique donc la règle de Hebb étendue :
|
|
|
|
|
|
|
|
```math
|
|
```math
|
|
|
w_1 \leftarrow w_1 + \eta(d-y)s_1 = 0 + 1 \times (1-0)\times 1 = 1
|
|
\begin{array}{lcl}
|
|
|
```
|
|
w_1 \leftarrow w_1 + \eta(d-y)s_1 &=& 0 + 1 \times (1-0)\times 1 = 1\\
|
|
|
|
|
w_2 \leftarrow w_2 + \eta(d-y)s_2 &=& 0 + 1 \times (1-0)\times 0 = 0\\
|
|
|
```math
|
|
w_3 \leftarrow w_3 + \eta(d-y)s_3 &=& 0 + 1 \times (1-0)\times 0 = 0\\
|
|
|
w_2 \leftarrow w_2 + \eta(d-y)s_2 = 0 + 1 \times (1-0)\times 0 = 0
|
|
w_4 \leftarrow w_4 + \eta(d-y)s_4 &=& 0 + 1 \times (1-0)\times 1 = 1\\
|
|
|
```
|
|
w_0 \leftarrow w_0 + \eta(d-y)s_0 &=& 2 + 1 \times (1-0)\times -1 = 1
|
|
|
|
|
\end{array}
|
|
|
```math
|
|
|
|
|
w_3 \leftarrow w_3 + \eta(d-y)s_3 = 0 + 1 \times (1-0)\times 0 = 0
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
```math
|
|
|
|
|
w_4 \leftarrow w_4 + \eta(d-y)s_4 = 0 + 1 \times (1-0)\times 1 = 1
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
```math
|
|
|
|
|
w_0 \leftarrow w_0 + \eta(d-y)s_0 = 2 + 1 \times (1-0)\times -1 = 1
|
|
|
|
|
```
|
|
```
|
|
|
|
|
|
|
|
|
|
|
| ... | |
... | |
| ... | | ... | |