OpenMined / PipelineDP

PipelineDP is a Python framework for applying differentially private aggregations to large datasets using batch processing systems such as Apache Spark, Apache Beam, and more.
https://pipelinedp.io/
Apache License 2.0
270 stars 75 forks source link

Using AdditiveMechanism in Combiners #422

Closed dvadym closed 1 year ago

dvadym commented 1 year ago

This is the part of the refactoring for making adding noise more OOP. This refactoring is for supporting PLD and l1 sensitivities in future.

This PR implements using recently impelment AdditiveMechanism in Count/PrivacyIDCount/Sum combiners. Namely, it introduces mixin class MechanismContainerMixin for creating and keeping AdditiveMechanism in Combiners.

dvadym commented 1 year ago

Thanks for review!