For finite probability mass functions, with whenever , subtract the two expectations of logarithmic loss:
The Gibbs inequality makes the difference nonnegative and zero exactly when . If assigns zero probability to an outcome with positive probability under , both the cross-entropy and the Kullback-Leibler divergence are infinite. The finite information entropy still leaves the displayed identity valid in the extended sense. In more general settings, undefined differences such as cannot be used as a derivation.

Articles by others on the same topic (0)

There are currently no matching articles.