


Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!



The first two questions are required. Question three is 10% extra credit.
wbias,h1 wa,h1 wb,h1 wbias,h2 wa,h2 wb,h2 wbias,o wh1,o wh2,o Initial weights 0.68 0.38 0.83 0.5 0.71 0.43 0.30 0.19 0. Timestep Case erro errh1 errh2? wbias,h1? wa,h1? wb,h1? wbias,h2? wa,h2? wb,h2? wbias,o? wh1,o? wh2,o 1 a=0,b=0 -0.0279 -0.00312 0 0 0 0 a=0,b= a=1,b= a=1,b= wbias,h1 wa,h1 wb,h1 wbias,h2 wa,h2 wb,h2 wbias,o wh1,o wh2,o New weights 0. 2 a=0,b= a=0,b= a=1,b= a=1,b=
a b
h1 h
o
oi (^) [ h ]for ( xi wi ) (^) i [ h ]
r r tanh ⋅. (Hint:
( ( )) h ( ) x ( ) x x
x (^) 2 2 sec 1 tanh
tanh = = − ∂
[ ] [ ]
ihjo
xc f x w f f x w w w
δ
r r rr r r = ⋅ ⋅ ∂
,
, , or
[ ] [ ]
ihjo
xc f x w f f x w w f f x w w w
δ
r r r r r r r r r r = ⋅ ⋅ − ⋅ ⋅ ∂
,
, ,
r r ≡ ⋅ and
r (^) r r r = ⋅ ⋅ , this becomes
[ ] [ ]
ihjo
xc o o o w
= − δ ∂
,
, .
Likewise, for the input neurons, we find
[ ] [ ]
ii jh
xc f f x w w w f x w x w
δ
r (^) r r r r r = ⋅ ⋅ ⋅ ∂
,
, , or
[ ] [ ]
ii jh
xc xo o w o o w
= − − δ ∂
,
, .
and the inputs xi to be considered as the outputs from the input neurons oi (^) [ ] i , then we can
finally combine both equations into
ij
xc oo o w
= − δ ∂
,
, .