Function smartnoise_validator::privacy_usage_to_accuracy[][src]

pub fn privacy_usage_to_accuracy(
    component: Component,
    privacy_definition: PrivacyDefinition,
    properties: IndexMap<IndexKey, ValueProperties>,
    public_arguments: IndexMap<IndexKey, ReleaseNode>,
    alpha: f64
) -> Result<Accuracies>

Estimate the accuracy of the release of a component, based on a privacy usage.

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