evalml.data_checks.DataCheck.validate

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 (pd.DataFrame) – the input data of shape [n_samples, n_features]

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

Returns

Dictionary of DataCheckError and DataCheckWarning messages

Return type

dict (DataCheckMessage)