wenzhu23333 / Differential-Privacy-Based-Federated-Learning

Everything you want about DP-Based Federated Learning, including Papers and Code. (Mechanism: Laplace or Gaussian, Dataset: femnist, shakespeare, mnist, cifar-10 and fashion-mnist. )
GNU General Public License v3.0
348 stars 56 forks source link

error? #2

Closed beiyuouo closed 2 years ago

beiyuouo commented 2 years ago

Thanks for your good work!

Maybe this should be equal to Laplace ?

https://github.com/wenzhu23333/Differential-Privacy-Based-Federated-Learning/blob/790bd56b4357a4e2d53b33fb092e5147b1eebb18/models/Update.py#L69

wenzhu23333 commented 2 years ago

Thanks for your comment, I have fixed this.