OpenMined / PyDP

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

New Tutorial: Demonstrate DP on DataWarehouse for #300 #346

Open Koukyosyumei opened 3 years ago

Koukyosyumei commented 3 years ago

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

review-notebook-app[bot] commented 3 years ago

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

Koukyosyumei commented 3 years ago

@chinmayshah99 Thanks for your review! The problems you mentioned were not what I intended. I changed some files to pass mypy tests, but it also couldn't pass ci tests. These errors during ci tests are not what this PR aims to solve, so I reset the commit. Currently, what I have added are only a notebook and csv files.