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

Handle one-hot encoded columns #127

Open
yoid2000 opened this issue Dec 29, 2023 · 0 comments
Open

Handle one-hot encoded columns #127

yoid2000 opened this issue Dec 29, 2023 · 0 comments

Comments

@yoid2000
Copy link
Contributor

If a set of columns is really one-hot encoding of a single column, then:

  1. The user can tag the columns as such.
  2. SynDiffix transforms the one-hot encoding back into a single column
  3. SynDiffix synthesizes the column
  4. SynDiffix transforms the synthesized column back to the one-hot encoding

Note that #125 must be implemented before this, so that a valid encoding is always created during synthesis.

Obviously if any given symbol is suppressed altogether, then the corresponding one-hot column is all False.

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