Information-Theory
Entropy, Cross Entropy, And KL Divergence: A Coding-Cost View
· ☕ 5 min read · âœī¸ k4i
A coding-cost explanation of entropy, cross entropy, and KL divergence: what is unavoidable uncertainty, what is the cost of coding with the wrong distribution, and why cross entropy naturally appears in classification and language-model training.
Entropy, Cross Entropy, And KL Divergence: A Coding-Cost View