Skip to content

Commit 5ade380

Browse files
mgrange1998facebook-github-bot
authored andcommitted
Make tutorials viewable in Github by adding nbformat (#70)
Summary: Pull Request resolved: #70 The tutorials do not render for now in Github {F1982343338} This change - Adds nbformat to the .ipynb tutorial files s.t they are rendered in Github - Renames fbcode/privacy_guard/github/tutorial_notebooks/fdp_analysis_tutorial.ipynb from fbcode/privacy_guard/github/tutorial_notebooks/fdp_analysis_tutorial.py.ipynb - Moves fbcode/privacy_guard/fb/tutorials/probabilistic_memorization_tutorial.py to internal repo. Reviewed By: iden-kalemaj Differential Revision: D83493038 fbshipit-source-id: 01509e344a073efddacc93f3b31b601f1e6e782c
1 parent 5408350 commit 5ade380

File tree

4 files changed

+9
-323
lines changed

4 files changed

+9
-323
lines changed

tutorial_notebooks/fdp_analysis_tutorial.py.ipynb renamed to tutorial_notebooks/fdp_analysis_tutorial.ipynb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -647,5 +647,7 @@
647647
"For real-world applications, replace the synthetic data with actual attack results from your membership inference attacks. Consider experimenting with different values of delta and p_value to understand their impact on the analysis."
648648
]
649649
}
650-
]
650+
],
651+
"nbformat": 4,
652+
"nbformat_minor": 5
651653
}

tutorial_notebooks/lira_attack_cifar10_tutorial.ipynb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -682,5 +682,7 @@
682682
"By understanding and addressing these privacy risks, you can build more privacy-preserving machine learning models."
683683
]
684684
}
685-
]
685+
],
686+
"nbformat": 4,
687+
"nbformat_minor": 5
686688
}

tutorial_notebooks/rmia_attack_cifar10_tutorial.py.ipynb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -818,5 +818,7 @@
818818
""
819819
]
820820
}
821-
]
821+
],
822+
"nbformat": 4,
823+
"nbformat_minor": 5
822824
}

tutorials/probabilistic_memorization_tutorial.py

Lines changed: 0 additions & 320 deletions
This file was deleted.

0 commit comments

Comments
 (0)