ML glossary › Cross-entropy
What is cross-entropy in machine learning?
A loss for classification: small when the model is confident and right, huge when confident and wrong.
Where it shows up
Neural networks
Cross-entropy loss
Classifiers output probabilities. To train them we need a loss that judges how much probability went to the right answer. The standard choice is cross-entropy.
See cross-entropy in motion. The lesson animates it step by step, free.
Open the lesson