evalml.data_checks.DataCheck.validate

abstract DataCheck.validate(X, y=None)[source]

Inspects and validates the input data, runs any necessary calculations or algorithms, and returns a list of warnings and errors if applicable.

Parameters
  • X (ww.DataTable, pd.DataFrame) – The input data of shape [n_samples, n_features]

  • y (ww.DataColumn, pd.Series, optional) – The target data of length [n_samples]

Returns

Dictionary of DataCheckError and DataCheckWarning messages

Return type

dict (DataCheckMessage)