Skip to content
Sample LDP implementation in Python
Branch: master
Clone or download
Latest commit 5d254d2 Mar 15, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.travis.yml
LICENSE Create LICENSE Feb 9, 2018
README.md
olh.py
requirements.txt
test_olh.py Update test_olh.py Feb 9, 2018

README.md

Build Status

Protocols

OLH

Sample OLH implementation in Python

Related Paper: Locally Differentially Private Protocols for Frequency Estimation (link)

PEM (under construction)

Sample PEM implementation in Python

Related Paper: Locally Differentially Private Heavy Hitter Identification (link)

SVIM/SVSM (under construction)

Sample SVIM/SVSM implementation in Python

Related Paper: Locally Differentially Private Frequent Itemset Mining (link)

Errata: In Equation (10) of Section V, there are three terms, two of them misses the coefficient $\ell$.

Clarification: To find top-k itemsets, we also consider singleton estimates from SVIM.

CALM (under construction)

Sample CALM implementation in Python

Related Paper: CALM: Consistent Adaptive Local Marginal for Marginal Release under Local Differential Privacy (link)

Environment

Python 2.7.10 (can also work for Python 3 by chaning the print statements)

xxhash 1.0.1

numpy 1.11.3

pytest 3.4.0

Or, run

pip install -r requirements.txt
pytest
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.