
(eps, delta)-DP definition check (Kamath Ch 6)
Source:R/kamath_llm2_native.R
morie_kamath_differential_privacy.RdChecks P_D <= e^eps P_D' + delta BOTH ways and reports the worst slack.
Examples
morie_kamath_differential_privacy(eps = 0.5, delta = 0.5)
#> $estimate
#> [1] 1.648721
#>
#> $guarantee
#> NULL
#>
#> $multiplicative_bound
#> [1] 1.648721
#>
#> $epsilon
#> [1] 0.5
#>
#> $delta
#> [1] 0.5
#>
#> $n
#> [1] 0
#>
#> $method
#> [1] "(eps, delta)-DP bound, no mechanism supplied"
#>