Learn R Programming

tidydp (version 0.1.0)

new_privacy_budget: Create a New Privacy Budget

Description

Initializes a privacy budget tracker for managing epsilon and delta across multiple differentially private operations. The budget uses composition theorems to track cumulative privacy loss.

Usage

new_privacy_budget(epsilon_total, delta_total = 1e-05, composition = "basic")

Value

A privacy budget object (list with class "privacy_budget")

Arguments

epsilon_total

Total epsilon budget available

delta_total

Total delta budget available (default: 1e-5)

composition

Method for budget composition: "basic" or "advanced" (default: "basic")

Examples

Run this code
budget <- new_privacy_budget(epsilon_total = 1.0, delta_total = 1e-5)

Run the code above in your browser using DataLab