Escolar Documentos
Profissional Documentos
Cultura Documentos
57
n
v j = ∑ w hji x i ,
i =1
z j = f jh (v j ),
⎛ l ⎞
ys = f so ⎜ ∑ w sjo z j ⎟
⎝ j=1 ⎠
⎛ l ⎞ ⎛ l ⎞ ⎛ l ⎛ n ⎞⎞
y s = f so ⎜⎜ ∑ w sjo z j ⎟⎟ = f so ⎜⎜ ∑ w sjo f jh (v j ) ⎟⎟ = f so ⎜⎜ ∑ w sjo f jh ⎜ ∑ w hji x i ⎟ ⎟⎟ = Fs (x1 ,..., x n )
⎝ j=1 ⎠ ⎝ j=1 ⎠ ⎝ j=1 ⎝ i=1 ⎠⎠
Defining
'⎛ ⎞
l
δs = (y ds − y s )f so ⎜⎜ ∑ w sq
o
z q ⎟⎟ , s = 1, 2, …, m
⎝ q=1 ⎠
we can express the gradient ∇E(w) (with respect to wjih and wsjo) as
follows:
∂E(w) ⎛ m ⎞ h'
∂w hji
= −⎜
⎜ ∑ δ p w o
pj
⎟f j (v j )x di
⎟
⎝ p =1 ⎠
∂E(w)
= −δ s z j
∂w sjo
The update equation for the weights wsjo of the output layer is
illustrated in Figure 13.7. The update equation for the weights wjih
of the hidden layer is illustrated in Figure 13.8.
ENGM 646 II. Unconstrained Optimization Page II.60
ENGM 646 II. Unconstrained Optimization Page II.61