evalml.data_checks.DataCheckMessageCode

class evalml.data_checks.DataCheckMessageCode[source]

Enum for data check message code.

Attributes

CLASS_IMBALANCE_BELOW_FOLDS

Message code for when the number of values for each target is below 2 * number of CV folds.

CLASS_IMBALANCE_BELOW_THRESHOLD

Message code for when balance in classes is less than the threshold.

HAS_ID_COLUMN

Message code for data that has ID columns.

HAS_OUTLIERS

Message code for when outliers are detected.

HIGHLY_NULL

Message code for highly null columns.

HIGH_VARIANCE

Message code for when high variance is detected for cross-validation.

NO_VARIANCE

Message code for when data has no variance (1 unique value).

NO_VARIANCE_WITH_NULL

Message code for when data has one unique value and NaN values.

TARGET_BINARY_INVALID_VALUES

Message code for target data for a binary classification problem with numerical values not equal to {0, 1}.

TARGET_BINARY_NOT_TWO_UNIQUE_VALUES

Message code for target data for a binary classification problem that does not have two unique values.

TARGET_HAS_NULL

Message code for target data that has null values.

TARGET_LEAKAGE

Message code for when target leakage is detected.

TARGET_UNSUPPORTED_TYPE

Message code for target data that is of an unsupported type.