verify_conditioning_reduces_entropy

Function verify_conditioning_reduces_entropy 

Source
pub fn verify_conditioning_reduces_entropy<FCond, FMarg>(
    conditional_entropy: FCond,
    marginal_entropy: FMarg,
    x: &[u8],
    y: &[u8],
    tolerance: f64,
) -> bool
where FCond: Fn(&[u8], &[u8]) -> f64, FMarg: Fn(&[u8]) -> f64,
Expand description

Verify conditioning reduces entropy: H(X|Y) ≤ H(X).