Skip to content

Add OpenSetCategoricalInitializer to local_mode initialization#13

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

Add OpenSetCategoricalInitializer to local_mode initialization#13
copybara-service[bot] wants to merge 1 commit into
mainfrom
cl/931290389

Conversation

@copybara-service

Copy link
Copy Markdown

Add OpenSetCategoricalInitializer to local_mode initialization

Introduces an initializer for open-set categorical attributes that uses
the DP-SIPS algorithm to privately discover significant partitions from
data. The discovered partitions plus a default catch-all value form a
CategoricalAttribute, and the noisy counts from SIPS are reused as the
histogram measurement (no separate budget needed for the histogram).

Follows the same conventions as NumericalInitializer and
CategoricalInitializer: dataclass with name/attribute/rng fields,
dp_event() method returning a ComposedDpEvent, and call() returning
a ColumnMeasurement.

@copybara-service copybara-service Bot force-pushed the cl/931290389 branch 3 times, most recently from cf5f0fa to d06305f Compare June 12, 2026 21:10
Introduces an initializer for open-set categorical attributes that uses
the DP-SIPS algorithm to privately discover significant partitions from
data. The discovered partitions plus a default catch-all value form a
CategoricalAttribute, and the noisy counts from SIPS are reused as the
histogram measurement (no separate budget needed for the histogram).

Follows the same conventions as NumericalInitializer and
CategoricalInitializer: dataclass with name/attribute/rng fields,
dp_event() method returning a ComposedDpEvent, and __call__() returning
a ColumnMeasurement.
PiperOrigin-RevId: 931290389
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