Question: A softmax layer in a neural network takes an input vector x and produces an output vector y, where a. Obtain the derivatives yj
A softmax layer in a neural network takes an input vector x and produces an output vector y, where

a. Obtain the derivatives ∂yj/∂xi in terms of x-values for the cases i = j and i ≠ j.
b. Re-express the derivatives in terms of y-values.
c. What can you say about the signs of the derivatives?
d. Using the indicator function 1(i = j), which has value 1 if i = j and 0 otherwise, combine your two expressions from part (b) into a single expression for the derivative ∂yj/∂xi.
yj ear; k = la *k
Step by Step Solution
3.29 Rating (152 Votes )
There are 3 Steps involved in it
a The derivative of the softmax function with respect to the input x can be calculated ... View full answer
Get step-by-step solutions from verified subject matter experts
