Cross-Entropy Loss Function. A loss function used in most ...
https://towardsdatascience.com/cross-entropy-loss-function-f38c4ec8643e25.11.2021 · Categorical cross-entropy is used when true labels are one-hot encoded, for example, we have the following true values for 3-class classification problem [1,0,0], [0,1,0] and [0,0,1]. In sparse categorical cross-entropy , truth labels are integer encoded, for example, [1], [2] and [3] for 3-class problem.