C

Kategorische Kreuzentropie

CCE

Kategorische Kreuzentropie misst die Differenz zwischen vorhergesagten und tatsächlichen Verteilungen bei Mehrklassenklassifizierungsaufgaben.

Kategorischer Kreuz-Entropy Entropie is a Verlustfunktion commonly im maschinellen Lernen, particularly in classification tasks where the goal is to predict one class out of multiple possible classes. It quantifies the difference between the predicted probability distribution produced by a model and the actual distribution of the classes observed in the data.

Mathematisch ausgedrückt wird die kategorische Kreuzentropie definiert als:

Loss = -Σ (yi * log(pi))

wobei:

  • yi is the true distribution (one-hot encoded vector) of classes,
  • pi is the predicted probability of each class.

Die Funktion berechnet die negative Log-Wahrscheinlichkeit of the true classes given the predicted probabilities. A lower value of categorical cross entropy indicates better performance of the model, as it means the predicted probabilities are closer to the actual labels.

This loss function is particularly useful in scenarios with multiple classes, such as Bildklassifikation, where each sample belongs to one and only one class. Categorical Cross Entropy is often used in conjunction with softmax activation in neural networks, as it effectively handles the probabilities that sum to one across all classes.

Strg + /