opendp 0.14.2-dev.20260401.2

A library of differential privacy algorithms for the statistical analysis of sensitive private data.
1
2
3
4
5
6
# type: ignore
# ZeroConcentratedDivergence
REPLACEMENT = True

def privacy_map(d_in: f64, scale: f64) -> f64:
    return d_in.inf_div(scale).inf_powi(ibig(2)).inf_div(8.0)