data_check_message#
Messages returned by a DataCheck, tagged by name.
Module Contents#
Classes Summary#
DataCheckMessage subclass for errors returned by data checks. |
|
Base class for a message returned by a DataCheck, tagged by name. |
|
DataCheckMessage subclass for warnings returned by data checks. |
Contents#
- class evalml.data_checks.data_check_message.DataCheckError(message, data_check_name, message_code=None, details=None, action_options=None)[source]#
DataCheckMessage subclass for errors returned by data checks.
Attributes
message_type
DataCheckMessageType.ERROR
Methods
Return a dictionary form of the data check message.
- to_dict(self)#
Return a dictionary form of the data check message.
- class evalml.data_checks.data_check_message.DataCheckMessage(message, data_check_name, message_code=None, details=None, action_options=None)[source]#
Base class for a message returned by a DataCheck, tagged by name.
- Parameters
message (str) – Message string.
data_check_name (str) – Name of data check.
message_code (DataCheckMessageCode) – Message code associated with message. Defaults to None.
details (dict) – Additional useful information associated with the message. Defaults to None.
Attributes
message_type
None
Methods
Return a dictionary form of the data check message.
- class evalml.data_checks.data_check_message.DataCheckWarning(message, data_check_name, message_code=None, details=None, action_options=None)[source]#
DataCheckMessage subclass for warnings returned by data checks.
Attributes
message_type
DataCheckMessageType.WARNING
Methods
Return a dictionary form of the data check message.
- to_dict(self)#
Return a dictionary form of the data check message.