The cross entropy of discrete probability distributions and
on the same countable set
is
where a term is infinite when and
. In terms of the Shannon
entropy
and relative entropy
,
It therefore equals
exactly when
.
The cross entropy of discrete probability distributions and
on the same countable set
is
where a term is infinite when and
. In terms of the Shannon
entropy
and relative entropy
,
It therefore equals
exactly when
.
Weisstein, Eric W. "Cross Entropy." From MathWorld--A Wolfram Resource. https://mathworld.wolfram.com/CrossEntropy.html