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

pub fn epsilon_to_accuracy(
    alpha: f64,
    epsilon: f64,
    sensitivity: f64,
    b: f64
) -> Result<f64>

Finds accuracy that is achievable given desired epsilon and confidence requirements. Described in https://github.com/opendp/smartnoise-core/blob/develop/whitepapers/mechanisms/snapping/snapping_implementation_notes.pdf

Arguments

Returns

Accuracy of the Snapping mechanism.