concept categorical cross in category deep learning

appears as: Categorical cross
Deep Learning with JavaScript: Neural networks in TensorFlow.js

This is an excerpt from Manning's book Deep Learning with JavaScript: Neural networks in TensorFlow.js.

Table 3.5. The values of categorical cross entropy under different probability outputs. Without loss of generality, all the examples (row) are based on a case in which there are three classes (as is the case in the iris-flower dataset), and the actual class is the second one. (view table figure)

One-hot truth label

probs (softmax output)

Categorical cross entropy

MSE

[0, 1, 0] [0.2, 0.5, 0.3] 0.693 0.127
[0, 1, 0] [0.0, 0.5, 0.5] 0.693 0.167
[0, 1, 0] [0.0, 0.9, 0.1] 0.105 0.006
[0, 1, 0] [0.1, 0.9, 0.0] 0.105 0.006
[0, 1, 0] [0.0, 0.99, 0.01] 0.010 0.00006