View source: R/signatures_utils.R
KLD | R Documentation |
Compute the Kullback-Leibler Divergence between two matrices. In order to compute the divergence, .Machine$double.eps is added to matrices zero entries.
KLD(m1, m2)
m1 |
original matrix |
m2 |
matrix to be used to approximate m1 |
KL-Divergence
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.