Cross-entropy
The average number of bits needed to encode data from P using a code optimised for Q. It splits into the entropy of P plus the divergence from P to Q, which is why minimising it over a model is the same as minimising that divergence.
- The true distribution, usually a one-hot label in practice.
- The predicted distribution the model outputs.