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

Surface error to user during fit if training data contains null values #414

Open
srinify opened this issue Oct 30, 2024 · 0 comments
Open
Labels
feature request Request for a new feature

Comments

@srinify
Copy link

srinify commented Oct 30, 2024

Problem Description

CTGAN isn't designed to work with training data that contains missing values. However, a user can fit a CTGAN model on data with missing values and an unhelpful error is currently only surfaced during the sampling phase.

You can find code and stack traces in issues like:

Expected behavior

CTGAN should surface an InvalidDataError or similar error during fit if data contains missing values:

InvalidDataError: CTGAN doesn't support null values in the training data. Please remove all null values from your training data.
@srinify srinify added new Label applied to new issues feature request Request for a new feature and removed new Label applied to new issues labels Oct 30, 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
Projects
None yet
Development

No branches or pull requests

1 participant