powered by
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.
new_privacy_budget(epsilon_total, delta_total = 1e-05, composition = "basic")
A privacy budget object (list with class "privacy_budget")
Total epsilon budget available
Total delta budget available (default: 1e-5)
Method for budget composition: "basic" or "advanced" (default: "basic")
budget <- new_privacy_budget(epsilon_total = 1.0, delta_total = 1e-5)
Run the code above in your browser using DataLab