js_div_bytes

Function js_div_bytes 

Source
pub fn js_div_bytes(x: &[u8], y: &[u8]) -> f64
Expand description

Jensen-Shannon Divergence JSD(P || Q) = 1/2 D_KL(P || M) + 1/2 D_KL(Q || M) where M = 1/2 (P + Q)

Marginal only. Symmetrized and smoothed version of KL divergence. Range [0,1].