Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a ConcatenateTransformer #555

Open
joshua-oss opened this issue May 11, 2023 · 0 comments
Open

Add a ConcatenateTransformer #555

joshua-oss opened this issue May 11, 2023 · 0 comments

Comments

@joshua-oss
Copy link
Contributor

There are common cases where categorical columns have strong dependencies which are considered public and should be preserved. For example, a table that has State and ZIP code columns should not waste privacy budget generating spurious combinations of state and ZIP code, because the mapping between State and ZIP is public knowledge. This is common with "Star Schema" dimensional designs. One simple way to handle this would be to allow the transformers to concatenate these values together before fitting, and split apart again when transforming.

This is related to #534, because combinations of public dimensions can still fingerprint individuals (and indeed, the risk is higher, because the needed attributes for the fingerprint are public). So the transformer would need to ensure a full cross join, or proper generation of spurious combinations, or alternately redaction with DPSU/DPNE. However, this could be useful.

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

No branches or pull requests

1 participant