Skip to main content

js_div_bytes

Function js_div_bytes 

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

Jensen-Shannon divergence between the byte histograms of x and y (bits).

JSD is an empirical, order-0 quantity by construction.