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
# MaxDivergence
REPLACEMENT = False

def privacy_map(d_in: f64, scale: f64) -> f64:
    return d_in.inf_div(scale)