-
-
Notifications
You must be signed in to change notification settings - Fork 139
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
New Tutorial: Demonstrate DP on DataWarehouse for #300 #346
base: dev
Are you sure you want to change the base?
Conversation
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
run-clang-format.py
Outdated
@@ -143,7 +144,8 @@ def run_clang_format_diff_wrapper(args, file): | |||
except DiffError: | |||
raise | |||
except Exception as e: | |||
raise UnexpectedError("{}: {}: {}".format(file, e.__class__.__name__, e), e) | |||
raise UnexpectedError("{}: {}: {}".format( |
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.
Can we use f-strings here?
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.
It's not what I intended, and I reset the commit
|
||
|
||
expect_near = lambda expected, actual, tol: ( | ||
def expect_near(expected, actual, tol): return ( |
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.
is there a reason to move from lambda to this new implementation?
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.
It's not what I intended, and I reset the commit
990dd08
to
0d7e041
Compare
@chinmayshah99 |
Description
This PR aims to close #300.
Although the label of #300 is "status in progress", it seems that no one is working on this issue.
This notebook consists of two parts. The first part shows how differential privacy works under the assumption that the attacker already knows almost all of the data except one record. In the second one, the attacker tries to identify one person, and the defender uses differential privacy to avoid this.
It is the first PR for me to this excellent project, so if I misunderstand something, please correct me!
Affected Dependencies
no
How has this been tested?
jupyter lab
Checklist