In machine learning, we often want to compare a true target distribution (P) with our model's predicted probability distribution (Q).
Cross-entropy measures the average number of bits needed to identify events if we use the predicted distribution Q instead of the true distribution P.
