Skip to content

Commit

Permalink
test out changes in the required numpy versions. the most recent vers…
Browse files Browse the repository at this point in the history
…ion seems working locally
  • Loading branch information
yuxiangw committed Sep 21, 2021
1 parent 137970a commit 611d43d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
absl-py
matplotlib
numpy==1.19.5
scipy==1.2.1
numpy>=1.19.5
scipy>=1.2.1
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@ def _parse_requirements(path):

setup(
name='autodp',
version='0.2',
version='0.2.1b',
description='Automating Differential Privacy Computation',
license="Apache",
long_description="The package helps researchers and developers to correctly use advanced methods in differential privacy and obtain provable DP guarantees. The core of the package is an analytical moments accountant that keeps track of Renyi Differential Privacy in analytical forms.",
author='Yu-Xiang Wang',
author_email='[email protected]',
url='https://github.com/yuxiangw/autodp',
download_url = 'https://github.com/yuxiangw/autodp/archive/v0.2.tar.gz',
download_url = 'https://github.com/yuxiangw/autodp/archive/refs/tags/v0.2.1.tar.gz',
keywords = ['Differential Privacy','Moments Accountant','Renyi Differential Privacy'],
packages=['autodp'], #same as name
install_requires=[_parse_requirements('requirements.txt')], #external packages as dependencies
Expand Down
3 changes: 3 additions & 0 deletions test/unit_test_calibrator.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,4 +81,7 @@ def test_single_para(self, eps, delta,coeff, sigma):
autodp_value = _multi_para(eps=eps, delta=delta,coeff=coeff, params_name='sigma')
self.assertGreaterEqual(autodp_value, (1. - tol) * sigma)

if __name__ == '__main__':
absltest.main()


0 comments on commit 611d43d

Please sign in to comment.