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