privacytoolsproject / PSI-Library

R library of differentially private algorithms for exploratory data analysis
6 stars 7 forks source link

Refactor getAccuracy functions #73

Closed globusharris closed 5 years ago

globusharris commented 5 years ago

Since getAccuracy, getParamaters/getEpsilon functions are derived the same way for all Laplace mechanism functions, should just have a global utility function that is called by all Laplace mech statistics that passes in sensitivity of that function rather than rewriting it for all individual statistics.