kldivergence
kldivergence(x, y)
Calculate the Kullback-Leibler (KL) divergence between two distributions.
Try it yourself:
$1 | kldivergence([0.7,0.5,0.4], [0.2,0.9,0.5])
|
Calculate the Kullback-Leibler (KL) divergence between two distributions.
Try it yourself:
$1 | kldivergence([0.7,0.5,0.4], [0.2,0.9,0.5])
|