DP

API reference: pe.dp package.

pe.dp.DP is responsible for implementing the differential privacy mechanism. It has the following key methods:

Available Differential Privacy Mechanisms

Currently, the following differential privacy mechanisms are implemented:

  • pe.dp.Gaussian: The Gaussian mechanism, which adds Gaussian noise to the histogram values.