ned_bytes

Function ned_bytes 

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

NED(X,Y) = (H(X,Y) - min(H(X), H(Y))) / max(H(X), H(Y))

Dispatches based on max_order. If 0, uses marginals; else uses rates.

Range: [0, 1].

  • 0: Identity (X determines Y and Y determines X).
  • 1: Independence (X and Y share no information).