kullackleibler

Tags:

Updated:

kullbackleibler is defined as $$\sum x_i \log(x_i/y_i)$$. Read more on Wikipedias article on Kullback-Leibler divergence.

Syntax

z = kullbackleibler(x,y)