Function smartnoise_validator::components::snapping_mechanism::redefine_epsilon[][src]

pub fn redefine_epsilon(epsilon: f64, b: f64, precision: u32) -> f64

Gets functional epsilon for Snapping mechanism such that privacy loss does not exceed the user’s proposed budget. Described in https://github.com/opendp/smartnoise-core/blob/develop/whitepapers/mechanisms/snapping/snapping_implementation_notes.pdf

Arguments

Returns

Functional epsilon that will determine amount of noise.