Commit graph

100 commits

Author SHA1 Message Date
Nicholas Vadivelu
9d871b28c1 Add keras_models example to tutorials. 2021-01-05 17:43:00 -05:00
Steve Chien
f0daaf085f Minor update to mnist_lr_tutorial.py to avoid (some) deprecated items.
PiperOrigin-RevId: 339327388
2020-10-27 14:16:12 -07:00
Steve Chien
3240a71965 Update Keras tutorial in light of recent changes to Keras Optimizer.
PiperOrigin-RevId: 326346140
2020-08-12 17:13:28 -07:00
A. Unique TensorFlower
191f2461c5 [tfds] Fix tfds.as_numpy which now returns a reusable iterable.
`next(ds)` -> `next(iter(ds))`

Context: https://github.com/tensorflow/datasets/issues/2270
PiperOrigin-RevId: 324951455
2020-08-04 22:06:20 -07:00
Steve Chien
1a959eec34 Fix import of tutorials common module.
PiperOrigin-RevId: 321789833
2020-07-17 09:07:30 -07:00
Steve Chien
10335f6177 Refactor MNIST tutorials and create new TPU tutorial:
1. Move common code to new file mnist_dpsgd_tutorial_common.py.
2. Move epsilon computation function out of binary into its own library.
3. Create new TPU tutorial.

PiperOrigin-RevId: 310409308
2020-05-07 12:05:50 -07: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
Mark Daoust
ca25bde1f8 Remove %tensorflow_version and from __future__
PiperOrigin-RevId: 304645574
2020-04-03 10:36:16 -07:00
Steve Chien
7647c54a27 Minor fix regarding tf.compat.v1 in mnist_dpsgd_tutorial_vectorized.
PiperOrigin-RevId: 303379200
2020-03-27 12:07:57 -07:00
A. Unique TensorFlower
2301931725 Fix issue with importing tensorflow.compat.v1.
PiperOrigin-RevId: 300175680
2020-03-10 14:16:46 -07:00
Steve Chien
79bca5f1fc Fix documentation filenames so they can be properly displayed.
PiperOrigin-RevId: 299422855
2020-03-06 13:23:21 -08: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
fd51a6e32c
Update movielens_tutorial.py
Remove empty line in import sections and import explicitly
2020-02-21 09:34:28 -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
Yanhua Sun
856eda3aa1 Explicitly replace "import tensorflow" with "tensorflow.compat.v1"
PiperOrigin-RevId: 290355582
2020-02-07 10:18:46 -08:00
woodyx218
bcbb0c9553
Add files via upload 2020-01-22 10:42:27 +08:00
woodyx218
239827251a
Add files via upload 2020-01-22 10:28:09 +08:00
woodyx218
1d5c5ac2fc
Add files via upload 2020-01-19 20:27:35 +08:00
A. Unique TensorFlower
1a448b4272 Document how to set delta. Document orders list in eps computation.
PiperOrigin-RevId: 289514598
2020-01-13 14:07:14 -08:00
woodyx218
47a984dc25
Delete 2020-01-02 16:41:42 +08:00
woodyx218
4a39d26c2f
Initial commit 2020-01-02 16:37:24 +08:00
woodyx218
45e9280a8c
Initial commit 2020-01-02 16:35:37 +08:00
Nicolas Papernot
8d185c81c7 fix language in colab
PiperOrigin-RevId: 281372393
2019-11-19 14:39:58 -08:00
Steve Chien
28d6db4c92 Update Colab to advise users to use a GPU.
PiperOrigin-RevId: 277761946
2019-10-31 11:14:57 -07:00
Steve Chien
d69879d360 Changes to make Tensorflow Privacy compatible with TF 2.0.
PiperOrigin-RevId: 277561553
2019-10-30 12:33:02 -07:00
Steve Chien
8a80c1a745 Suppress warnings in Colab
PiperOrigin-RevId: 277393252
2019-10-29 16:49:32 -07:00
Steve Chien
853ec20b52 Specify TF 1.x in Colab.
PiperOrigin-RevId: 277385438
2019-10-29 16:07:28 -07:00
Steve Chien
cad86b925e Update link in Colab button at top of page.
PiperOrigin-RevId: 276752314
2019-10-25 13:44:44 -07:00
anirudh161
596bba431d
Fix Colab link and remove link to tensorflow.org 2019-10-24 17:00:08 -07:00
anirudh161
eb5666b16b
Fix Colab link 2019-10-24 15:36:03 -07:00
anirudh161
ab67fcc455
Change Colab Link 2019-10-24 15:30:27 -07:00
anirudh161
41910b10e9 Add DPSGD-Keras Tutorial 2019-10-24 15:25:13 -07:00
Steve Chien
1ce8cd4032 Restructure TF Privacy to be more in line with other repos in the TF ecosystem.
PiperOrigin-RevId: 274674077
2019-10-14 15:29:52 -07:00
Steve Chien
0776ed124b Add link to paper on Renyi Differential Privacy.
PiperOrigin-RevId: 267412177
2019-09-05 11:15:27 -07:00
A. Unique TensorFlower
0e84af1e69 Merge pull request #70 from georgianpartners:master
PiperOrigin-RevId: 265056745
2019-08-23 08:06:16 -07:00
A. Unique TensorFlower
602b1c3f37 Update tfds.load() callers to specify shuffle_files=True when necessary.
PiperOrigin-RevId: 264803647
2019-08-22 04:02:08 -07:00
Christopher Choquette Choo
ce20982db0 Merge remote-tracking branch 'origin/master' 2019-08-21 22:57:51 -04:00
Christopher Choquette Choo
18ce9c2335 Stable version for tf2.0a0, b0. 2019-08-21 22:57:35 -04:00
Nicolas Papernot
c7ca8092fb Introduce vectorized DP optimizer
PiperOrigin-RevId: 262414086
2019-08-08 12:56:28 -07:00
A. Unique TensorFlower
9fe5e91de4 Merge pull request #53 from georgianpartners:master
PiperOrigin-RevId: 260990063
2019-07-31 13:44:12 -07:00
Christopher Choquette Choo
4bd0ad482a Refactoring bolton to bolt_on from package refactor for comments + strings. 2019-07-31 10:55:25 -04:00
Christopher Choquette Choo
c0bd19365b Refactoring bolton package to bolt_on only in code usages. 2019-07-31 10:52:41 -04:00
Christopher Choquette Choo
2065f2b16a Code style and documentation changes. 2019-07-30 15:12:22 -04:00
Christopher Choquette Choo
92f97ae32c Fixing missing args. 2019-07-27 13:54:19 -04:00
npapernot
0317ce8077 print 2019-07-25 16:17:56 +00:00
npapernot
8974a95b9a more fixes 2019-07-25 16:13:32 +00:00
npapernot
8e6bcf9b4a many fixes 2019-07-25 15:37:54 +00:00