Sample OLH implementation in Python
Python
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.travis.yml
LICENSE
README.md
olh.py
requirements.txt
test_olh.py

README.md

Build Status

OLH

Sample OLH implementation in Python

Related Paper: Locally Differentially Private Protocols for Frequency Estimation (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