August 2018
Intermediate to advanced
522 pages
12h 45m
English
Let's suppose you have a discrete data generating process pdata(x) and a model that outputs a probability mass function q(x). In many machine learning tasks, the goal is to tune up the parameter so that q(x) becomes as similar to pdata as possible. A very useful measure is the Kullback-Leibler divergence:

This quantity (also known as information gain) expresses the gain obtained by using the approximation q(x) instead of the original data generating process. It's immediate to see that if q(x) = pdata(x) ⇒ DKL(pdata||q) = 0, while it's greater than 0 (unbounded) when there's a mismatch. ...
Read now
Unlock full access