What is the mathematical relationship between KL divergence and cross-entropy?
Role: Machine Learning Engineer
Category: Machine Learning
Difficulty: easy
Interview Round: Other
Overview: Derive how cross-entropy, entropy and KL divergence relate, and explain what that relationship means for training classifiers. Tests the derivation, the coding-cost interpretation, the link to maximum likelihood, and the difference between one-hot and soft targets.