kldivergence

kldivergence(x, y)

Calculate the Kullback-Leibler (KL) divergence between two distributions.

Try it yourself:

All functions