Commit graph

48 commits

Author SHA1 Message Date
Galen Andrew
c8cb3c6b70 General cleanup.
1. Rename PrivateQuery to DPQuery.
2. Move construction of DPQuery to outside of optimizer.
3. Remove PrivateAverageQuery and PrivateSumQuery, and rename DPQuery's 'get_query_result' method to 'get_noised_result'. Rename private_queries.py to dp_query.py.
4. Remove thrice-replicated run_query function from the test classes and replace with a single function in new test_utils.py.
5. Add functions gaussian_sum_query_from_noise_multplier and gaussian_average_query_from_noise_multplier.

PiperOrigin-RevId: 230595991
2019-01-23 14:41:44 -08:00
Steve Chien
7e2d796bde Minor fixes for Python 2/3 compatibility.
PiperOrigin-RevId: 230022543
2019-01-18 17:33:22 -08:00
Peter Kairouz
0b56f7c016 Add optional argument for weighted sum and weighted average queries.
PiperOrigin-RevId: 230021515
2019-01-18 17:25:58 -08:00
A. Unique TensorFlower
047e1eef0e Updating README.md for the tutorial. Included discussion of learning_rate and target accuracy/privacy for several settings of training parameters.
PiperOrigin-RevId: 230016922
2019-01-18 16:49:24 -08:00
Alex Pine
6c5c39c4f2 Created the optional unroll_microbatches parameter for the DpOptimizerClass as a workaround for b/122613513.
PiperOrigin-RevId: 229955297
2019-01-18 11:51:44 -08:00
A. Unique TensorFlower
87ec1a2e77 Merge pull request #14 from badbayesian:master
PiperOrigin-RevId: 229631674
2019-01-16 14:56:25 -08:00
Nicolas Papernot
4487099296 Closes #11
PiperOrigin-RevId: 229430188
2019-01-15 13:32:56 -08:00
badbayesian
e86cf16986 FIX: python3 compatibility 2019-01-15 14:54:28 -06:00
badbayesian
4c9971d4a8 FIX: python3 compatibility 2019-01-15 14:52:53 -06:00
Peter Kairouz
5ee12803f3 Create NoPrivacySumQuery and NoPrivacyAverageQuery.
PiperOrigin-RevId: 229273971
2019-01-14 17:39:36 -08:00
Nicolas Papernot
93e9585f18 Add missing licenses.
PiperOrigin-RevId: 229241117
2019-01-14 16:02:35 -08:00
A. Unique TensorFlower
e1ccf56492 Import PATE code from tensorflow/models.
PiperOrigin-RevId: 229239903
2019-01-14 14:48:40 -08:00
Nicolas Papernot
4c1f3c07f4 Modify loss passed to optimizer when dpsgd is False in MNIST tutorial
PiperOrigin-RevId: 229233829
2019-01-14 12:38:20 -08:00
Nicolas Papernot
89ca3f2a06 Format in main README
PiperOrigin-RevId: 229233679
2019-01-14 12:37:35 -08:00
Nicolas Papernot
398d1d052f Closes #4
PiperOrigin-RevId: 229212766
2019-01-14 10:55:15 -08:00
Steve Chien
72d13e628f Copybara test
PiperOrigin-RevId: 228965125
2019-01-11 16:26:50 -08:00
Steve Chien
8635181255 Internal change.
PiperOrigin-RevId: 228958118
2019-01-11 16:19:15 -08:00
Steve Chien
c30f6d776e Add test to ensure DP optimizers work with tf.estimator Estimators.
PiperOrigin-RevId: 228920704
2019-01-11 15:50:56 -08:00
Steve Chien
22c8b76c04 Remove extra lines.
PiperOrigin-RevId: 228596935
2019-01-09 15:12:30 -08:00
A. Unique TensorFlower
666a5e0fe6 update year in README
PiperOrigin-RevId: 228586249
2019-01-09 15:12:20 -08:00
schien1729
24922389d1 Merge pull request #12 from npapernot:master
PiperOrigin-RevId: 228583727
2019-01-09 14:03:32 -08:00
Nicolas Papernot
2885c51e7d dummy PR 2 2019-01-09 13:10:11 -08:00
schien1729
3b4ddf6914 Merge pull request #3 from carlini:master
PiperOrigin-RevId: 228556799
2019-01-09 11:40:16 -08:00
Steve Chien
233e03c72d Automated rollback of commit 2bd9469267
PiperOrigin-RevId: 228426305
2019-01-08 18:04:46 -08:00
Steve Chien
932190c4e5 Automated rollback of commit a7190fc1ed
PiperOrigin-RevId: 228425879
2019-01-08 18:04:36 -08:00
schien1729
2bd9469267 Merge pull request #10 from npapernot:master
PiperOrigin-RevId: 228418175
2019-01-08 17:57:44 -08:00
Steve Chien
a7190fc1ed Fix python3 bug: range() is no longer list. From @carlini
PiperOrigin-RevId: 228237806
2019-01-08 17:38:10 -08:00
Nicolas Papernot
b2e9e58780 dummy PR 2019-01-08 15:07:01 -08:00
schien
251d6298c6 Fix Python 3 compatibility issues
PiperOrigin-RevId: 228232503
2019-01-07 14:09:31 -08:00
Steve Chien
555e8e293a
Merge pull request #9 from tensorflow/revert-1-python3-fixes
Revert "Fix Python 3 compatibility issues"
2019-01-07 13:53:28 -08:00
Steve Chien
1689cf3a77
Revert "Fix Python 3 compatibility issues" 2019-01-07 13:44:35 -08:00
Steve Chien
8c53cf8f75
Merge pull request #1 from cclauss/python3-fixes
Fix Python 3 compatibility issues
2019-01-07 13:43:22 -08:00
A. Unique TensorFlower
29fac758af - Fixing dependencies in setup.py and requirements.txt.
PiperOrigin-RevId: 227742524
2019-01-04 15:58:19 -08:00
A. Unique TensorFlower
01ab549902 Renaming stddev_to_sensitivity_ratio to noise_multiplier in rdp_accountant.
PiperOrigin-RevId: 227552068
2019-01-04 15:57:52 -08:00
A. Unique TensorFlower
205e005f60 Project import generated by Copybara.
PiperOrigin-RevId: 227101826
2018-12-27 23:45:37 -08:00
A. Unique TensorFlower
da79d522c6 Project import generated by Copybara.
PiperOrigin-RevId: 226991741
2018-12-26 23:31:59 -08:00
Nicholas Carlini
21de1f9dd8 Fix python3 bug: range() is no longer list 2018-12-26 18:23:36 +00:00
cclauss
d72378f913 Fix Python 3 compatibility issues 2018-12-24 03:55:12 +01:00
A. Unique TensorFlower
183d751c13 Project import generated by Copybara.
PiperOrigin-RevId: 226510932
2018-12-21 10:46:16 -08:00
A. Unique TensorFlower
b4188446e0 Project import generated by Copybara.
PiperOrigin-RevId: 226345615
2018-12-20 09:17:59 -08:00
Steve Chien
1595ed3cd1 Project import generated by Copybara.
PiperOrigin-RevId: 226056146
2018-12-18 15:44:04 -08:00
A. Unique TensorFlower
ceee90b1ac Add GaussianSumQuery and express GaussianAverageQuery in terms of it.
Also:
1. Add unit tests for both types of query.
2. Add function "get_query_result" to PrivateQuery. (The utility of having this function is made clear in the test class, where the function _run_query operates on either GaussianSum- or GaussianAverageQueries.)
PiperOrigin-RevId: 225609398
2018-12-18 15:41:38 -08:00
Steve Chien
0af76c7b3d Update to allow bazel on tensorflow_privacy to work out of the box.
PiperOrigin-RevId: 225605386
2018-12-18 15:41:26 -08:00
Steve Chien
b8418b0523 PiperOrigin-RevId: 224078477 2018-12-05 14:03:22 -08:00
Steve Chien
afb8189dba PiperOrigin-RevId: 224061027 2018-12-04 17:01:39 -08:00
Copybara
c0a43b2178 Copybara code migration
FolderOrigin-RevId: /google/src/cloud/papernot/os_privacy
2018-12-02 13:11:26 -08:00
A. Unique TensorFlower
e9169a724e Project import generated by Copybara.
FolderOrigin-RevId: /google/src/cloud/papernot/os_privacy
2018-12-02 13:07:04 -08:00
Nicolas Papernot
fe1e84ea60 Initialize empty repository. 2018-12-02 10:27:22 -08:00