-
Notifications
You must be signed in to change notification settings - Fork 2
Limit user contributions in a group by #297
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
) -> DpParameters { | ||
DpParameters { | ||
epsilon, | ||
delta, | ||
tau_thresholding_share, | ||
privacy_unit_max_multiplicity, | ||
privacy_unit_max_multiplicity_share, | ||
max_user_groups, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is no notion of user in qrlew -> please align the naming e.g. max_group_per_privacy_unit
or max_privacy_unit_groups
src/differential_privacy/group_by.rs
Outdated
&self, | ||
epsilon: f64, | ||
delta: f64, | ||
max_user_groups: u64, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't know what a user is
src/differential_privacy/group_by.rs
Outdated
let right = left.clone(); | ||
|
||
// Build an auto join to emulate a window function. | ||
let columns_and_pu_and_rand: Vec<_> = columns_and_pu |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Isolate the contrib limitation code
In this MR we limit the user contribution to at most cu groups when applying tau thresholding. cu is now a privacy parameter which by default is 1.