Download thesis2 - AUS Masters Theses

Transcript
.3 Backpropagation Algorithm
177
end
In matrix form, equations (27) and (30) can be stated as:
∆Woi (l) = DW̄oi + γ∆Woi (l − 1) .
(37)
where,

∆b1 (l)
∆a11 (l)


 ∆b2 (l) ∆a21 (l)

..
..


.
.
∆Woi (l) = 

 ∆bk (l) ∆ak1 (l)


..
..

.
.

∆bNo (l) ∆aNo 1 (l)
···
∆a1i (l)
···
···
...
∆a2i (l)
..
.
···
...
···
..
.
∆aki (l)
..
.
···
..
.
· · · ∆aNo i (l) · · ·
∆a1Ni (l)



∆a2Ni (l) 

..


.
 . (38)

∆akNi (l) 


..

.

∆aNo Ni (l)
Using DeltaWoi = ∆Woi (l) and DeltaWoi old = ∆Woi (l − 1), equation (37)
can be computed as follows:
DeltaWoi=DWoi aver+gamma*DeltaWoi old;
The parameters of Woi are then updated as follows:
Woi=Woi+DeltaWoi;
Then for the next epoch we have,
DeltaWoi old=DeltaWoi;