data_check ======================================= .. py:module:: evalml.data_checks.data_check .. autoapi-nested-parse:: Base class for all data checks. Module Contents --------------- Classes Summary ~~~~~~~~~~~~~~~ .. autoapisummary:: evalml.data_checks.data_check.DataCheck Contents ~~~~~~~~~~~~~~~~~~~ .. py:class:: DataCheck Base class for all data checks. Data checks are a set of heuristics used to determine if there are problems with input data. **Methods** .. autoapisummary:: :nosignatures: evalml.data_checks.data_check.DataCheck.name evalml.data_checks.data_check.DataCheck.validate .. py:method:: name(cls) Return a name describing the data check. .. py:method:: validate(self, X, y=None) :abstractmethod: Inspect and validate the input data, runs any necessary calculations or algorithms, and returns a list of warnings and errors if applicable. :param X: The input data of shape [n_samples, n_features] :type X: pd.DataFrame :param y: The target data of length [n_samples] :type y: pd.Series, optional :returns: Dictionary of DataCheckError and DataCheckWarning messages :rtype: dict (DataCheckMessage)