Skip to content

Commit 049f463

Browse files
authored
[MNT] diffprivlib 0.6.1 (#75)
* Removing deprecated keyword from np.histogramdd * Updating version number
1 parent f5c5637 commit 049f463

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

diffprivlib/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,4 @@
2929
from diffprivlib import tools
3030
from diffprivlib.accountant import BudgetAccountant
3131

32-
__version__ = '0.6.0'
32+
__version__ = '0.6.1'

diffprivlib/tools/histograms.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ def histogramdd(sample, epsilon=1.0, bins=10, range=None, weights=None, density=
244244
"specified for each dimension independently of the data (i.e., using domain knowledge).",
245245
PrivacyLeakWarning)
246246

247-
hist, bin_edges = np.histogramdd(sample, bins=bins, range=range, normed=None, weights=weights, density=None)
247+
hist, bin_edges = np.histogramdd(sample, bins=bins, range=range, weights=weights, density=None)
248248

249249
dp_mech = GeometricTruncated(epsilon=epsilon, sensitivity=1, lower=0, upper=maxsize, random_state=random_state)
250250

0 commit comments

Comments
 (0)