Three scores
For and true class , what are the softmax probabilities to four decimals, and the cross-entropy to four decimals?
Worked answer
The probabilities are , , and . The cross-entropy is .
For z=(0,1,−1) and true class 2, what are the softmax probabilities to four decimals, and the cross-entropy to four decimals?
The probabilities are 0.2447, 0.6652, and 0.0900. The cross-entropy is 0.4076.