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

MST/AIM output can include None values #591

Open
madprogramer opened this issue Feb 19, 2024 · 0 comments
Open

MST/AIM output can include None values #591

madprogramer opened this issue Feb 19, 2024 · 0 comments

Comments

@madprogramer
Copy link

Consider a dataset dat with only 3 binary variables (encoded using the LabelTransformer)

A B C
1 0 1
0 0 1
1 1 1
1 1 1

When I call synth.fit_sample(dat, transformer=tableTransformer) I seemingly get no errors for MST/AIM synthesizers. However, upon inspecting the input it looks a little something like this:

A B C
1 1 1
1 1 None
None None 1
0 0 1

I don't suppose there is an easy fix for this, besides increasing sample size/epsilon. But at the very least I think fit_sample should generate a warning when None values are present.

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