Diffprivlib 0.5.0
This release of diffprivlib features a number of additions, fixes and enhancements. This version of diffprivlib supports Python version 3.7 to 3.9.
Added
- A differentially private random forest classifier,
RandomForestClassifier, has been added to themodelsmodule (#41, by mismayil) - The
ExponentialandPermuteAndFlipmechanisms now supportmonotonicutility functions as an input parameter (08c4d98) - Templates have been added for issues and pull requests (#52, by stefano81)
- We are transitioning to Github Actions for tests and other checks (#54)
Changed
Breaking:
- Mirroring the equivalent behaviour in scikit-learn (since version 0.23), most parameters for diffprivlib models must now be specified as keyword arguments. Failing to do so will raise a
TypeError. (5fa781e)
Non-breaking:
- The
Laplace,Gaussian,VectorandBinghamdistributions are now securely sampled to prevent privacy leakage due to their floating point representation (#47) - Diffprivlib now requires scikit-learn 0.23, numpy 1.19, and scipy 1.5, or later (#51)
Fixed
- Bug in
quantilefor uniform data fixed (#43, d5ac459) - Optimised upper bound for
var(#45, by justanotherlad) - Bug in
Exponentialmechanism (#50, by justanotherlad) histogramddandhistogram2dnow prioritise bin edges frombinsoverrange. (96ef33c)