-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
60 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# Examples | ||
|
||
This folder contains examples of how to run the code contained in this repository. | ||
|
||
## Scripts | ||
|
||
* How to simulate attribute inference attacks: `attribute_inference_example.py`. | ||
* How to simulate membership inference attacks: | ||
- Worst case scenario attack: `worst_case_attack_example.py`. | ||
- LIRA scenario attack: `lira_attack_example.py`. | ||
* Integration of attacks into safemodel classes `safemodel_attack_integration_bothcalls.py`. | ||
|
||
## Notebooks | ||
|
||
The `notebooks` folder contains short tutorials on the basic concept of "safe_XX" versions of machine learning algorithms, and examples of some specific algorithms. | ||
|
||
## Risk Examples | ||
|
||
The `risk_examples` folder contains hypothetical examples of data leakage through machine learning models as described in the [Green Paper](https://doi.org/10.5281/zenodo.6896214). |