Skip to main content

Energy Differential Privacy

Project description

This repository contains the pilot implementation of the core privacy methods for Energy Differential Privacy (EDP). The key components are:

  • Core Differential Privacy for energy efficiency analytics (eeprivacy)

  • Python API documentation for eeprivacy

  • Sample implementations of key use cases

[Examples and library documentation](https://openeemeter.github.io/eeprivacy/)

Energy Differential Privacy (EDP) enables the use of the gold standard of privacy protection, differential privacy, for high value energy efficiency analytics.

Installation

pip install eeprivacy

Local Usage

Notebooks

With your preferred notebook environment (like [JupyterLab](https://jupyterlab.readthedocs.io/en/stable/) or [nteract](https://nteract.io/)), install eeprivacy and try out any of the [example notebooks](https://openeemeter.github.io/eeprivacy/private-load-shape-algorithm-design.html).

REPL

>>> from eeprivacy.mechanisms import LaplaceMechanism
>>> LaplaceMechanism.execute(value=0, epsilon=0.1, sensitivity=1)
1.198515653814998

Development

Build docs:

./bin/build_docs

Run tests:

./bin/test

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

eeprivacy-0.0.5.tar.gz (5.8 kB view hashes)

Uploaded Source

Built Distribution

eeprivacy-0.0.5-py2.py3-none-any.whl (10.4 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page