Differentially Private Synthetic Data
Project description
SmartNoise Synthesizers
Differentially private synthesizers for tabular data. Package includes:
- MWEM
- QUAIL
- PATE-CTGAN
- DP-CTGAN
- PATE-GAN
Installation
pip install smartnoise-synth
Using
import snsynth
import pandas as pd
synth = snsynth.MWEMSynthesizer(1.0) # epsilon=1.0
fit = synth.fit(my_data) # learn the distribution of the real data
sample = synth.sample(10) # synthesize 10 rows
Communication
- You are encouraged to join us on GitHub Discussions
- Please use GitHub Issues for bug reports and feature requests.
- For other requests, including security issues, please contact us at smartnoise@opendp.org.
Releases and Contributing
Please let us know if you encounter a bug by creating an issue.
We appreciate all contributions. Please review the contributors guide. We welcome pull requests with bug-fixes without prior discussion.
If you plan to contribute new features, utility functions or extensions to this system, please first open an issue and discuss the feature with us.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
smartnoise-synth-0.2.1.tar.gz
(25.6 kB
view hashes)
Built Distribution
Close
Hashes for smartnoise_synth-0.2.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 65d8549b06605ec7c48a8ae9b23e1df3ba94acfdd31749041683877eca841555 |
|
MD5 | 4ab7694d2cdae17a311a2a7eeaae1bdf |
|
BLAKE2b-256 | 8f4bfbf2224bcd50c7a46f60a193c1a46d145af383e62933ccc003542cdf1f26 |