- Hands-On Generative Adversarial Networks with Keras
- Rafael Valle
- 46字
- 2025-04-04 14:27:55
Categorical crossentropy loss
The categorical crossentropy loss function measures the weighted divergence between targets, , and predictions,
, where
denotes the data point, and
denotes the class. For single label classification problems, the
targets operate as an indicator variable and the loss is reduced to
:
