Categories

Entropy, Cross-Entropy and KL Divergence

0:14

About this video

Entropy, cross-entropy and KL divergence, visualized.

Entropy measures the average uncertainty of a distribution in bits, cross-entropy measures the cost of coding the real data with a wrong model, and KL divergence is the gap between the two. That is why minimising cross-entropy during training is the same as minimising the KL divergence from the labels.

Video transcript
  1. 0:01 Cross-entropy compares the prediction with the true class, B.
  2. 0:04 The more probability the network gives it, the lower the loss:
  3. 0:08 from 1.08 to 0.13.

Read the full article Watch on YouTube

More videos

All videos