Question: h ( a ) = t a n h ( a ) , with t a n h ( a ) = e a -

h(a)=tanh(a), with tanh(a)=ea-e-aea+e-a
A useful feature of this function is that its derivative can be expression in a particularly simple
form:
h'(a)=1-h(a)2.
We consider a standard sum-of-squares error function, so that the error is given by
En=12i=1K(yk-tk)2
where yk is the activation of output unit k, and tk is the corresponding target value, for a
particular input sample xn.
The back propagation algorithm for inferring the parameters wji(1) and wkj(2) can be described in
the following way. For each sample in the training set in turn, we first perform a forward
propagation using the first two equations above. Next, we compute the error ' s for each
output unit using
k=yk-tk
Then, we backpropagate these to obtain the error ' s for the hidden units using
j=(1-zj2)i=1Kwkjk
 h(a)=tanh(a), with tanh(a)=ea-e-aea+e-a A useful feature of this function is that

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!