pbeamtest

package
v3.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 12, 2024 License: Apache-2.0, BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Overview

Package pbeamtest provides PrivacySpecs for testing Privacy on Beam pipelines without noise.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func QuantilesTolerance

func QuantilesTolerance(MinValue, MaxValue float64) float64

QuantilesTolerance returns a tolerance t such that the output of QuantilesPerKey is within t of the exact result for given MinValue and MaxValue parameters of QuantilesParams when pbeamtest is used.

Due to the implementation details of Quantiles, it has an inherent (non-DP) noise. So, even when we disable DP noise, the results will be still slightly noisy.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL