dist_jsd | R Documentation |
dist_jsd
Calculating Jensen-Shannon divergence basing the formulate JSD(P || Q) = √{0.5 \times KLD (P||\frac{P + Q}{2}) + 0.5 \times KLD(Q||\frac{P+Q}{2})} .
dist_jsd(b)
b |
a 'bSet' class |
Jensen-Shannon divergence data frame
data(iris) b <- data.table::as.data.table(iris[1:6, 1:4]) b <- bSet(b = b, Features = letters[1:6], Samples = LETTERS[1:4]) dist <- dist_jsd(b)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.