Commit graph

505 commits

Author SHA1 Message Date
A. Unique TensorFlower
fa9ed85f37 Automated refactoring to make code Python 3 compatible.
PiperOrigin-RevId: 299935369
2020-03-09 14:26:58 -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
A. Unique TensorFlower
f3672adf80 Explicitly disable Tensorflow v2 behaviors for all TF1.x binaries and tests
PiperOrigin-RevId: 299397784
2020-03-06 11:29:06 -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
A. Unique TensorFlower
5238ccd77b Update prerequisite to TF 1.14 in requirements.txt.
PiperOrigin-RevId: 297006998
2020-02-24 17:15:16 -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
fd51a6e32c
Update movielens_tutorial.py
Remove empty line in import sections and import explicitly
2020-02-21 09:34:28 -05:00
woodyx218
b9b2e8670f
Move doc str below functions 2020-02-21 09:30:30 -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
Galen Andrew
945075a136 Fix num_records in quantile_adaptive_clip_sum_query_test.
PiperOrigin-RevId: 292995170
2020-02-07 10:19:08 -08:00
Galen Andrew
9bb3c1e6d8 A few new features for QuantileAdaptiveClipSumQuery.
1. Remove redundant global_state.l2_norm_clip from QuantileAdaptiveClipSumQuery.
2. Simplify accumulation code by deriving from SumAggregationDPQuery.
3. Add geometric update option to QuantileAdaptiveClipAverageQuery.

PiperOrigin-RevId: 292442733
2020-02-07 10:18:57 -08: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
7b72e8a11b
Add files via upload 2020-01-22 10:29:25 +08:00
woodyx218
239827251a
Add files via upload 2020-01-22 10:28:09 +08:00
woodyx218
2ef5c6e332
Add files via upload 2020-01-19 20:29:37 +08:00
woodyx218
0b01471497
Delete GDprivacy_accountants.py 2020-01-19 20:28:05 +08:00
woodyx218
1d5c5ac2fc
Add files via upload 2020-01-19 20:27:35 +08:00
Keith Rush
a8a2d91795 Move TF privacy off contrib.
PiperOrigin-RevId: 289953826
2020-01-15 15:47:21 -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
Galen Andrew
c80a862ae2 Remove tf.contrib.framework.
PiperOrigin-RevId: 289487098
2020-01-13 11:48:35 -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
cbce4540d3
Initial commit 2020-01-02 16:36:31 +08:00
woodyx218
45e9280a8c
Initial commit 2020-01-02 16:35:37 +08:00
Galen Andrew
8d98c3433b Add geometric updating for quantile-based adaptive clipping.
PiperOrigin-RevId: 285799976
2019-12-16 10:29:50 -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
aead0aeb3e Update version to 0.2.2.
PiperOrigin-RevId: 277631589
2019-10-30 19:05:07 -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
A. Unique TensorFlower
43a014a5ff Merge pull request #80 from anirudh161:patch-1
PiperOrigin-RevId: 276606123
2019-10-24 18:11:31 -07:00
anirudh161
596bba431d
Fix Colab link and remove link to tensorflow.org 2019-10-24 17:00:08 -07:00
A. Unique TensorFlower
011bff3146 Merge pull request #79 from anirudh161:add-dpsgd-keras-tutorial
PiperOrigin-RevId: 276584210
2019-10-24 15:56:12 -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
c97497e030 Update version to 0.2.1
PiperOrigin-RevId: 276127928
2019-10-22 13:10:42 -07:00
Steve Chien
2007aac912 Allow compute_dp_sgd_privacy to be called as library function.
PiperOrigin-RevId: 275966906
2019-10-21 18:10:05 -07:00
Steve Chien
979748e09c Update setup.py to version 0.2.0.
PiperOrigin-RevId: 274880162
2019-10-15 14:02:55 -07:00
Steve Chien
c8a96ee288 Add privacy/ to list of git_files.
PiperOrigin-RevId: 274688700
2019-10-14 16:40:52 -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
Scott Wegner
c0e05f6cad Downgrade bolt_on warning message from printing a message to just a code comment.
As is, this will be printed on every python execution which imports tf_privacy where this module is not available (including transitive dependencies, i.e. via tf_federated). The warning is not actionable for users and so is strictly noise.

Worse, because this uses print() rather than logging, this is often the last line of output when running unit tests. It's easy to mistakenly think that a unit test failure was caused by this warning.

This change removes the log statement entirely, since it is noisy and not actionable.

PiperOrigin-RevId: 274198105
2019-10-11 10:21:41 -07:00
Steve Chien
6c03ce49fd Add tensorflow_privacy/ to list of git_files.
PiperOrigin-RevId: 274022715
2019-10-10 13:09:04 -07:00