Probabilistic losses - Keras
keras.io › api › lossesCategoricalCrossentropy class. tf.keras.losses.CategoricalCrossentropy( from_logits=False, label_smoothing=0.0, axis=-1, reduction="auto", name="categorical_crossentropy", ) Computes the crossentropy loss between the labels and predictions. Use this crossentropy loss function when there are two or more label classes.