Skip to content

Consolidate low-level DP primitives into dpsynth.local_mode.primitives - #182

Open
copybara-service[bot] wants to merge 1 commit into
mainfrom
cl/976794904
Open

Consolidate low-level DP primitives into dpsynth.local_mode.primitives#182
copybara-service[bot] wants to merge 1 commit into
mainfrom
cl/976794904

Conversation

@copybara-service

Copy link
Copy Markdown

Consolidate low-level DP primitives into dpsynth.local_mode.primitives

  • Merges _quantiles.py into primitives.py, establishing primitives.py as the
    singular home for low-level DP building blocks in dpsynth.
  • Extracts a general-purpose exponential_mechanism primitive which the
    histogram median algorithm now calls.
  • Deletes the obsolete DP-SIPS partition selection implementation and tests.
  • Updates the module header to document that all primitives expect
    pre-computed aggregates (counts) rather than computing aggregations
    themselves, placing caller responsibility on satisfying privacy assumptions
    (such as each user contributing at most one record to one bucket).
  • Updates initialization and tests to import from primitives.py and deletes
    _quantiles.py and _quantiles_test.py.

- Merges _quantiles.py into primitives.py, establishing primitives.py as the
  singular home for low-level DP building blocks in dpsynth.
- Extracts a general-purpose exponential_mechanism primitive which the
  histogram median algorithm now calls.
- Deletes the obsolete DP-SIPS partition selection implementation and tests.
- Updates the module header to document that all primitives expect
  pre-computed aggregates (counts) rather than computing aggregations
  themselves, placing caller responsibility on satisfying privacy assumptions
  (such as each user contributing at most one record to one bucket).
- Updates initialization and tests to import from primitives.py and deletes
  _quantiles.py and _quantiles_test.py.

PiperOrigin-RevId: 976794904
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants