BaşlayınÜcretsiz Başlayın

When no budget is left

What happens if a query were to exceed the privacy budget specified in your accountant?

In this exercise, we will create a Privacy Budget Accountant acc and calculate the private average of reading scores from the students' performance dataset loaded as reading_scores. This operation will exceed the privacy budget.

The BudgetAccountant class has already been loaded.

Bu egzersiz

Data Privacy and Anonymization in Python

kursunun bir parçasıdır
Kursu Görüntüle

Uygulamalı interaktif egzersiz

Bu örnek kodu tamamlayarak bu egzersizi bitirin.

# Budget accountant with epsilon of 0.1
acc = ____
Kodu Düzenle ve Çalıştır