Jake VanderPlas
6718ae2636
Rename jax.experimental.optimizers -> jax.example_libraries.optimizers
...
Why? The former name has been deprecated since JAX version 0.2.25, released in November 2021 (see https://github.com/google/jax/blob/main/CHANGELOG.md#jax-0225-nov-10-2021 ), and will soon be removed.
PiperOrigin-RevId: 465670868
2022-08-05 16:24:49 -07:00
A. Unique TensorFlower
97eec1a8e3
COPYBARA_INTEGRATE_REVIEW= https://github.com/tensorflow/privacy/pull/234 from ftramer:truth_serum fe44a0713952ef1615abf032947082eb5c082836
...
PiperOrigin-RevId: 447573314
2022-05-09 15:06:13 -07:00
Steve Chien
137f795352
Remove license from lr_acc.json file.
...
PiperOrigin-RevId: 446850420
2022-05-05 16:47:13 -07:00
A. Unique TensorFlower
7eea74a6a1
COPYBARA_INTEGRATE_REVIEW= https://github.com/tensorflow/privacy/pull/230 from npapernot:hyperparam 8835b9c4072e3e598aa49d605e7643a2c2e65988
...
PiperOrigin-RevId: 446832781
2022-05-05 15:38:47 -07:00
Yilei Yang
de585e5619
Remove unused comments related to Python 2 compatibility.
...
PiperOrigin-RevId: 443383047
2022-04-21 08:20:08 -07:00
Fabien Hertschuh
5493a3baf0
Explicitly import estimator from tensorflow as a separate import instead of
...
accessing it via tf.estimator and depend on the tensorflow estimator target.
PiperOrigin-RevId: 438419860
2022-03-30 16:05:01 -07:00
Michael Reneer
ffc29e1d82
Merge pull request #154 from jagielski:audit_pr
...
PiperOrigin-RevId: 429646031
2022-02-18 22:15:25 +00:00
Michael Reneer
7e0b193393
Merge pull request #185 from carlini:neuracrypt
...
PiperOrigin-RevId: 429632517
2022-02-18 21:10:54 +00:00
Michael Reneer
81949efda6
Merge pull request #184 from carlini:instahide
...
PiperOrigin-RevId: 429629817
2022-02-18 20:56:47 +00:00
Michael Reneer
661edb5214
Merge pull request #183 from carlini:better-mi
...
PiperOrigin-RevId: 429626329
2022-02-18 20:42:22 +00:00
Michael Reneer
69d84d1892
Add TensorFlow Privacy BUILD and WORKSPACE files.
...
PiperOrigin-RevId: 429141704
2022-02-16 23:30:06 +00:00
Michael Reneer
8012d5b9c9
Internal
...
PiperOrigin-RevId: 428549678
2022-02-16 23:26:54 +00:00
Shuang Song
c8bba41059
Merge pull request #154 from jagielski/audit_pr
...
Add code for auditing DP-SGD
2022-02-14 13:25:50 -08:00
Shuang Song
48b3b6a51b
Merge pull request #185 from carlini/neuracrypt
...
Add NeuraCrypt attack code to research directory
2022-02-14 13:23:36 -08:00
Shuang Song
66338409b7
Merge pull request #184 from carlini/instahide
...
Add InstaHide attack code to research folder
2022-02-14 13:23:16 -08:00
Shuang Song
3d499e69ba
Merge pull request #183 from carlini/better-mi
...
Add research code to reproduce Membership Inference Attacks From First Principles
2022-02-14 13:21:40 -08:00
Michael Reneer
b0803999ad
Add license and missing build targets to __init__.py
files in TensorFlow Privacy.
...
* Added license.
* Removed `.../membership_inference_attack/codelabs/__init__.py`, this code does not look like it needs to be part of the Python package.
* Removed `.../research/pate_2017/__init__.py`, this code does not look like it needs to be part of the Python package.
PiperOrigin-RevId: 424682641
2022-01-27 12:40:23 -08:00
Nicholas Carlini
bf9a58d26b
Add citation
2021-12-14 00:59:37 +00:00
Nicholas Carlini
a41549d103
Prettier README
2021-12-14 00:54:29 +00:00
Nicholas Carlini
7e40ad9704
Add code to reproduce Membership Inference Attacks From First Principles
2021-12-14 00:50:49 +00:00
Matthew Jagielski
62c51db99c
fix variable names
2021-10-19 15:55:46 -07:00
Nicholas Carlini
1093710ab8
Add NeuraCrypt attack code
2021-07-07 04:21:13 +00:00
Matthew Jagielski
f8c2745c8d
delete pycache
2021-02-15 19:27:43 -05:00
Matthew Jagielski
3f2447e262
add auditing code
2021-02-15 19:27:18 -05:00
Nicholas Carlini
28b8a80924
Add InstaHide Attack paper to research folder
2020-12-05 01:20:49 +00:00
A. Unique TensorFlower
f7b4a30120
Merge pull request #89 from woodyx218:GDPrivacy
...
PiperOrigin-RevId: 307695867
2020-04-21 15:48:54 -07:00
Steve Chien
264820cb3f
Automated rollback of changelist 306513264
...
PiperOrigin-RevId: 307694393
2020-04-21 15:38:12 -07:00
A. Unique TensorFlower
9627cc0ed8
COPYBARA_INTEGRATE_REVIEW= https://github.com/tensorflow/privacy/pull/89 from woodyx218:GDPrivacy d06340e1cf
...
PiperOrigin-RevId: 306534693
2020-04-15 08:31:10 -07:00
Yanhua Sun
b0df24ef25
Explicitly replace "import tensorflow" with "tensorflow.compat.v1" for TF2.x migration
...
PiperOrigin-RevId: 297199727
2020-02-25 14:11:47 -08:00
woodyx218
d06340e1cf
Update imdb_tutorial.py
2020-02-21 09:35:47 -05:00
woodyx218
b13f2f6067
Update adult_tutorial.py
2020-02-21 09:35:18 -05:00
woodyx218
fe82de2cfe
Rename research/imdb_tutorial.py to research/GDP_2019/imdb_tutorial.py
2020-02-21 00:50:57 -05:00
woodyx218
681a156f3f
Rename research/adult_tutorial.py to research/GDP_2019/adult_tutorial.py
2020-02-21 00:50:42 -05:00
woodyx218
f29f101b23
Move tutorial for IMDB dataset to research folder
2020-02-21 00:49:02 -05:00
woodyx218
5d69c692e1
Move tutorial for adult dataset to research folder
2020-02-21 00:48:16 -05:00
Nicolas Papernot
a1e9ca2a18
Closes #32
...
PiperOrigin-RevId: 239054994
2019-03-18 13:58:07 -07:00
npapernot
2aa9debb91
glint
2019-03-18 17:01:25 +00:00
npapernot
a209988d87
docstrings
2019-03-18 16:58:06 +00:00
npapernot
e55a832d54
fnames
2019-03-18 16:49:34 +00:00
npapernot
b6c932ec66
quotes
2019-03-18 16:47:36 +00:00
npapernot
4784b0f31e
pylint edits
2019-03-18 16:42:59 +00:00
Nicolas Papernot
ec2204ac97
rename var
2019-03-18 09:27:57 -07:00
Nicolas Papernot
38ae6ce3b3
reorder imports
2019-03-18 09:23:59 -07:00
Nicolas Papernot
0b5780b4e6
Update input.py
2019-03-18 09:22:38 -07:00
Nicolas Papernot
469c2da8c4
Update input.py
2019-03-18 09:21:04 -07:00
Nicolas Papernot
d139d94f32
Update input.py
2019-03-18 07:29:18 -07:00
an1006634493
5bac796ee6
Record one change for Python3
...
In Python 3, cPickle is replaced by pickle.
2019-03-18 22:09:46 +08:00
Nicolas Papernot
947e17dcce
Closes #28
...
PiperOrigin-RevId: 238274605
2019-03-13 11:56:31 -07:00
Nicolas Papernot
be815437a6
reorder imports
2019-03-08 09:47:15 -08:00
cclauss
1fc7128da0
from six.moves import xrange
...
__xrange()__ was removed in Python 3 in favor of a reworked version of __range()__.
[flake8](http://flake8.pycqa.org ) testing of https://github.com/tensorflow/privacy on Python 3.7.1
$ __flake8 . --count --select=E9,F63,F72,F82 --show-source --statistics__
```
./privacy/optimizers/gaussian_query_test.py:65:16: F821 undefined name 'xrange'
for _ in xrange(1000):
^
./research/pate_2018/ICLR2018/rdp_bucketized.py:79:12: F821 undefined name 'xrange'
for i in xrange(n):
^
./research/pate_2018/ICLR2018/rdp_bucketized.py:106:12: F821 undefined name 'xrange'
for i in xrange(n):
^
./research/pate_2018/ICLR2018/rdp_bucketized.py:139:12: F821 undefined name 'xrange'
for i in xrange(n):
^
4 F821 undefined name 'xrange'
4
```
__E901,E999,F821,F822,F823__ are the "_showstopper_" [flake8](http://flake8.pycqa.org ) issues that can halt the runtime with a SyntaxError, NameError, etc. These 5 are different from most other flake8 issues which are merely "style violations" -- useful for readability but they do not effect runtime safety.
* F821: undefined name `name`
* F822: undefined name `name` in `__all__`
* F823: local variable name referenced before assignment
* E901: SyntaxError or IndentationError
* E999: SyntaxError -- failed to compile a file into an Abstract Syntax Tree
2019-03-08 10:33:26 +01:00