Eli Bendersky's
Follow
Cross-entropy and KL divergence
Cross-entropy is widely used in modern ML to compute the loss for classification
tasks. This post is a brief overview of the math behind it and a related
concept called Kullback-Leibler (KL) divergence.Information content of a single random eventWe'll start with a single event (E) that has probability …