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 :