OpenMined / PyDP

The Python Differential Privacy Library. Built on top of: https://github.com/google/differential-privacy
Apache License 2.0
497 stars 136 forks source link

Categorical Support for Laplace Mecjanism #403

Closed grilhami closed 2 years ago

grilhami commented 2 years ago

Description

Added categorical support for LaplaceMechanism class, which is able to take the cat_feat_idxs and cat_sensitivity arguments.

The SKLearn_Pipeline_Laplace_Mechanism.ipynb notebook has been modified to include examples for categorical support.

How has this been tested?

Run all the code in the SKLearn_Pipeline_Laplace_Mechanism.ipynb notebook after successfully building PyDP.

Checklist

review-notebook-app[bot] commented 2 years ago

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

grilhami commented 2 years ago

@chinmayshah99 It seems this conflict has something to do with pyproject.toml. Do you have any idea about this?

chinmayshah99 commented 2 years ago

@chinmayshah99 It seems this conflict has something to do with pyproject.toml. Do you have any idea about this?

I don't see any conflict, but rather addition of a new package. This seems okay.

grilhami commented 2 years ago

@chinmayshah99 Solve the conflict. Ready to merge.