Source code for evalml.data_checks.data_check_message_code

from enum import Enum


[docs]class DataCheckMessageCode(Enum): """Enum for data check message code.""" HIGHLY_NULL = "highly_null" """Message code for highly null columns.""" HAS_ID_COLUMN = "has_id_column" """Message code for data that has ID columns.""" TARGET_INCOMPATIBLE_OBJECTIVE = "target_incompatible_objective" """Message code for target data that has incompatible values for the specified objective""" TARGET_HAS_NULL = "target_has_null" """Message code for target data that has null values.""" TARGET_UNSUPPORTED_TYPE = "target_unsupported_type" """Message code for target data that is of an unsupported type.""" TARGET_BINARY_NOT_TWO_UNIQUE_VALUES = "target_binary_not_two_unique_values" """Message code for target data for a binary classification problem that does not have two unique values.""" TARGET_BINARY_INVALID_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_EXAMPLES_PER_CLASS = "target_multiclass_not_two_examples_per_class" """Message code for target data for a multi classification problem that does not have two examples per class.""" TARGET_MULTICLASS_NOT_ENOUGH_CLASSES = "target_multiclass_not_enough_classes" """Message code for target data for a multi classification problem that does not have more than two unique classes.""" TARGET_MULTICLASS_HIGH_UNIQUE_CLASS = "target_multiclass_high_unique_class_warning" """Message code for target data for a multi classification problem that has an abnormally large number of unique classes relative to the number of target values.""" HIGH_VARIANCE = "high_variance" """Message code for when high variance is detected for cross-validation.""" TARGET_LEAKAGE = "target_leakage" """Message code for when target leakage is detected.""" HAS_OUTLIERS = "has_outliers" """Message code for when outliers are detected.""" CLASS_IMBALANCE_BELOW_THRESHOLD = "class_imbalance_below_threshold" """Message code for when balance in classes is less than the threshold.""" CLASS_IMBALANCE_BELOW_FOLDS = "class_imbalance_below_folds" """Message code for when the number of values for each target is below 2 * number of CV folds.""" NO_VARIANCE = "no_variance" """Message code for when data has no variance (1 unique value).""" NO_VARIANCE_WITH_NULL = "no_variance_with_null" """Message code for when data has one unique value and NaN values.""" IS_MULTICOLLINEAR = "is_multicollinear" """Message code for when data is potentially multicollinear."""