Skip to content

Diffprivlib#

Overview#

DiffPrivLib is an open-source differential privacy library developed by IBM. It provides some differentially private tools, including DP implementations of common machine learning algorithms and statistical analysis functions, making it familiar to users used to work with scikit-learn.

Usage in Lomas#

Users can send DiffPrivLib queries directly via the Lomas client package with client.diffprivlib.query() using the diffprivlib module. The query is sent to the server, which validates and executes it against the private dataset while tracking the consumed DP budget.

Example

A worked example demonstrating how to use DiffPrivLib through the Lomas client is available in this notebook.

References#