Skip to content

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

@srinify

Description

@srinify

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.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions