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

(Refactoring) Drop AdditiveMechanismSpec, use MechanismSpec instead #464

Closed dvadym closed 1 year ago

dvadym commented 1 year ago

Having 2 very similar classes AdditiveMechanismSpec and MechanismSpec adds confusions and complexity, while doesn't add any benefits. Let's drop the former and let's use MechanismSpec.

Also it contains

  1. test renaming, dropping "_new", which is leftover from tune_new (which was renamed to tune).
  2. increase acceptance range for a stat tests (in tests/combiners_test.py).