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

Adding a seed argument to the ClusterBasedNormalizer #574

Open
AndresAlgaba opened this issue Nov 2, 2022 · 0 comments
Open

Adding a seed argument to the ClusterBasedNormalizer #574

AndresAlgaba opened this issue Nov 2, 2022 · 0 comments

Comments

@AndresAlgaba
Copy link

Problem Description

There is some randomness in fitting the ClusterBasedNormalizer. This also causes reproducibility issues in the other sdv libraries, e.g., sdv-dev/CTGAN#213.

Expected behavior

The BayesianGaussianMixture used to fit the distribution has a random_state argument that could be used for reproducibility purposes (see https://scikit-learn.org/stable/modules/generated/sklearn.mixture.BayesianGaussianMixture.html).

Additional context

I have only looked at the ClusterBasedNormalizer, but it may be that other methods could use the same approach for reproducibility purposes.

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

2 participants