
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!

Machine Learning (CS 5350/CS 6350) 28 August 2008
Information theory is the study of the transmission of bits across a noisy channel. Suppose I have an alphabet {A, B, C, D} and I want to encode it in binary. I can use:
Now, suppose someone told me that in the messages I send, A is more common than the others:
Can we do better? Sure?
This is clearly unambiguous and gets us an average of 1.75 bits/character. The minimum number of bits is the entropy
H(X) = − ∑ x
p(X = x) log 2 p(X = x)
Zero entropy means deterministic, high entropy means close to uniform. H(Y |X = x) is the number of bits needed to send Y , given that both the sender and recipient knew X = x. (Specific conditional entropy.) It’s the same as entropy, but computed only over data points where X = x. The full conditional entropy H(Y |X) is the expected specific conditional entropy:
H(Y |X) =
x
p(X = x)H(Y |X = x)
Information gain IG(Y |X) is: i must send Y — how many bits would I save if both ends knew X?
IG(Y |X) = H(Y ) − H(Y |X)
Intuitively, X has a high information gain with respect to Y if, knowing X, it takes many fewer bits to transmit Y. A few random notes for IG with respect to decision trees: