private-attribution / ipa

A raw implementation of Interoperable Private Attribution
MIT License
40 stars 23 forks source link

apply_dp_noise function #1106

Closed bmcase closed 3 months ago

bmcase commented 3 months ago

Small PR for an apply_dp_noise function which adds noise to a vector of values. This will be used when both applying the noise in the case of aggregation and feature_label_dot_product but I'll split those into separate PRs.

codecov[bot] commented 3 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 91.01%. Comparing base (1bfa80d) to head (c88cba6).

:exclamation: Current head c88cba6 differs from pull request most recent head eeb9a6c

Please upload reports for the commit eeb9a6c to get more accurate results.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1106 +/- ## ========================================== + Coverage 90.99% 91.01% +0.01% ========================================== Files 186 186 Lines 26243 26289 +46 ========================================== + Hits 23881 23928 +47 + Misses 2362 2361 -1 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.