Skip to content

Add heuristic one-way measurement for NumericalInitializer#38

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

Add heuristic one-way measurement for NumericalInitializer#38
copybara-service[bot] wants to merge 1 commit into
mainfrom
cl/934559141

Conversation

@copybara-service

Copy link
Copy Markdown

Add heuristic one-way measurement for NumericalInitializer

When an estimated_total is provided, NumericalInitializer now produces
a LinearMeasurement with uniform counts and stddev = 1/sqrt(rho), based
on empirical analysis of DPQuantiles noise.

DataGenerationV3 orchestrates this by initializing closed-domain columns
first to estimate the total count, falling back to a new DPGaussianCount
primitive when no closed-domain columns exist.

Also inlines _gaussian_histogram and select_partitions_gaussian_thresholding
into their respective DPMechanism classes to reduce indirection.

When an estimated_total is provided, NumericalInitializer now produces
a LinearMeasurement with uniform counts and stddev = 1/sqrt(rho), based
on empirical analysis of DPQuantiles noise.

DataGenerationV3 orchestrates this by initializing closed-domain columns
first to estimate the total count, falling back to a new DPGaussianCount
primitive when no closed-domain columns exist.

Also inlines _gaussian_histogram and select_partitions_gaussian_thresholding
into their respective DPMechanism classes to reduce indirection.

PiperOrigin-RevId: 934559141
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