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

Not able to fit() CTGANSynthesizer() if NaNs are present in the dataset #21

Closed
rianboy18 opened this issue Jan 13, 2020 · 2 comments
Closed
Labels
question General question about the software

Comments

@rianboy18
Copy link

  • CTGAN version:
  • Python version:
  • Operating System:

Description

Describe what you were trying to get done.
Tell us what happened, what went wrong, and what you expected to happen.

What I Did

Paste the command(s) you ran and the output.
If there was a crash, please include the traceback here.
@rianboy18 rianboy18 changed the title Not able to handle NaNs in the dataset Not able to fit() CTGANSynthesizer() if NaNs are present in the dataset Jan 13, 2020
@csala
Copy link
Contributor

csala commented Jan 13, 2020

Hi @rianboy18 unfortunately CTGAN does indeed not work with null values.
Maybe this will change in the future, but for now it is intended to work only with single tables of numerical or categorical data, with no nulls.

If you want support for more complex scenarios, like nullable, boolean or datetime columns, or multi-table datasets, please have a look at the SDV project.

Also note that, even though CTGAN is not yet available as an SDV model, work is currently being done in order to support it as well as other DL based synthesizers.

@rianboy18
Copy link
Author

Hi @rianboy18 unfortunately CTGAN does indeed not work with null values.
Maybe this will change in the future, but for now it is intended to work only with single tables of numerical or categorical data, with no nulls.

If you want support for more complex scenarios, like nullable, boolean or datetime columns, or multi-table datasets, please have a look at the SDV project.

Also note that, even though CTGAN is not yet available as an SDV model, work is currently being done in order to support it as well as other DL based synthesizers.

Thanks @csala. Noted !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question General question about the software
Projects
None yet
Development

No branches or pull requests

2 participants