Lably
Skip to content

Conditional entropy

Measure of relative information in probability theory

  • 3 min read
  • 5 chapters

Related on Lably

Through Random variable, Expected value and Conditional probability

Definition

The conditional entropy of Y given X is defined as

H(Y|X)=−∑x∈X,y∈Yp(x,y)log⁡p(x,y)p(x)

where X and Y denote the support sets of X and Y.

Note: Here, the convention is that the expression 0log⁡0 should be treated as being equal to zero. This is because limθ→0+θlog⁡θ=0.

Intuitively, notice that by definition of expected value and of conditional probability, H(Y|X) can be written as H(Y|X)=E[f(X,Y)], where f is defined as f(x,y):=−log⁡(p(x,y)p(x))=−log⁡(p(y|x)). One can think of f as associating each pair (x,y) with a quantity measuring the information content of (Y=y) given (X=x). This quantity is directly related to the amount of information needed to describe the event (Y=y) given (X=x). Hence by computing the expected value of f over all pairs of values (x,y)∈X×Y, the conditional entropy H(Y|X) measures how much information, on average, the variable X encodes about Y.

Sign in to keep reading

4 more chapters are free with a Lably account.

More in Topics in mathematics