data_check_message

Module Contents

Classes Summary

DataCheckError

DataCheckMessage subclass for errors returned by data checks.

DataCheckMessage

Base class for a message returned by a DataCheck, tagged by name.

DataCheckWarning

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)[source]

DataCheckMessage subclass for errors returned by data checks.

Attributes

message_type

DataCheckMessageType.ERROR

Methods

to_dict

to_dict(self)
class evalml.data_checks.data_check_message.DataCheckMessage(message, data_check_name, message_code=None, details=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

to_dict

to_dict(self)[source]
class evalml.data_checks.data_check_message.DataCheckWarning(message, data_check_name, message_code=None, details=None)[source]

DataCheckMessage subclass for warnings returned by data checks.

Attributes

message_type

DataCheckMessageType.WARNING

Methods

to_dict

to_dict(self)