OpenMined / PyDP

The Python Differential Privacy Library. Built on top of: https://github.com/google/differential-privacy
Apache License 2.0
503 stars 139 forks source link

Implement QuantileTree.Merge method #433

Closed dvadym closed 1 year ago

dvadym commented 1 year ago

QuantileTree.Merge should return Summary as all other PyDP objects, but in the 1st implementation it returned dp::BoundedQuantilesSummary. This PR fixes that.

Along a way, some minor stuff fixed as well. 1.max_partitions_contributed_to->max_partitions_contributed

  1. Fixed a text of one exception.
dvadym commented 1 year ago

I've checked, max_partitions_contributed_to it's not used in examples. I've replaced it in all places in QuantileTree code.