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 transformer for min/max normalization #863

Open
npatki opened this issue Aug 9, 2024 · 0 comments
Open

Add a transformer for min/max normalization #863

npatki opened this issue Aug 9, 2024 · 0 comments
Labels
feature request Request for a new feature feature:transformer Related to adding a new transformer

Comments

@npatki
Copy link
Contributor

npatki commented Aug 9, 2024

Problem Description

As indicated in this issue, some users have found that applying a min/max scaling significantly improved the synthetic data quality.

However, the RDT library currently does not offer min/max scaling. It only offers the GaussianNormalizer(which uses the z-score), and ClusterBasedNormalizer which uses Bayesian GMMs.

Expected behavior

Min/max scaling will need to learn the min and max values during the fit stage. When transforming, it will take the entire distribution and transform it into the range [0,1] by using the formula: (value - min)/(max - min). Finally, the reverse transform will expand values back into the original [min, max] range, ensuring that out-of-bounds values are clipped.

Additional context

This is a tracking issue. The exact API (incl transformer name, parameters, etc.) still need to be figured out.

@npatki npatki added feature request Request for a new feature feature:transformer Related to adding a new transformer labels Aug 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request Request for a new feature feature:transformer Related to adding a new transformer
Projects
None yet
Development

No branches or pull requests

1 participant