opendp / smartnoise-core

Differential privacy validator and runtime
MIT License
290 stars 33 forks source link

remove `automatic` histogram mechanism option #332

Closed Shoeboxam closed 3 years ago

Shoeboxam commented 3 years ago

DPHistogram defaults to SimpleGeometric. If the user were to explicitly change the mechanism of DPHistogram to automatic, the system will un-necessarily choose the snapping or laplace mechanism if the data is not integral. Choosing the laplace or snapping mechanism is un-necessary because any float or categorical input data would be preprocessed by digitize and histogram to be integers. Since all situations are handled by the SimpleGeometric mechanism, the automatic option has been completely removed.