ryan112358 / private-pgm

An implementation of the tools described in the paper entitled "Graphical-model based estimation and inference for differential privacy"
Apache License 2.0
93 stars 38 forks source link

How to generate synthetic data with Approx-Private-PGM (LocalInference)? #16

Open RexYuan opened 3 months ago

RexYuan commented 3 months ago

As titled, I'd like to know how to call .synthetic_data on a LocalInference like with FactoredInference

ryan112358 commented 1 week ago

This library does not support generating synthetic data with Approx-PGM, that's one of the limitations of that approach. In principle, you could use the GUM algorithm described here to do it: https://www.usenix.org/conference/usenixsecurity21/presentation/zhang-zhikun

I'd be happy to accept a pull request if you want to implement that!