Function opendp::transformations::make_bounded_sum
source · pub fn make_bounded_sum<MI, T>(
bounds: (T, T)
) -> Fallible<Transformation<VectorDomain<AtomDomain<T>>, AtomDomain<T>, MI, AbsoluteDistance<T>>>where
MI: Metric,
T: MakeBoundedSum<MI>,
(VectorDomain<AtomDomain<T>>, MI): MetricSpace,
Expand description
Make a Transformation that computes the sum of bounded data.
Use make_clamp
to bound data.
Citations
- CSVW22 Widespread Underestimation of Sensitivity…
- DMNS06 Calibrating Noise to Sensitivity in Private Data Analysis
Arguments
bounds
- Tuple of lower and upper bounds for data in the input domain.
Generics
MI
- Input Metric. One ofSymmetricDistance
orInsertDeleteDistance
.T
- Atomic Input Type and Output Type.