Function smartnoise_validator::accuracy_to_privacy_usage[][src]

pub fn accuracy_to_privacy_usage(
    component: Component,
    privacy_definition: PrivacyDefinition,
    properties: IndexMap<IndexKey, ValueProperties>,
    accuracies: Accuracies,
    public_arguments: IndexMap<IndexKey, ReleaseNode>
) -> Result<PrivacyUsages>

Estimate the privacy usage necessary to bound accuracy to a given value.

No context about the analysis is necessary, just the privacy definition and properties of the arguments of the component.