data_checks

A collection of data checks.

Module Contents

Classes Summary

DataChecks

A collection of data checks.

Contents

class evalml.data_checks.data_checks.DataChecks(data_checks=None, data_check_params=None)[source]

A collection of data checks.

Parameters
  • data_checks (list (DataCheck)) – List of DataCheck objects.

  • data_check_params (dict) – Parameters for passed DataCheck objects.

Methods

validate

Inspect and validate the input data against data checks and returns a list of warnings and errors if applicable.

validate(self, X, y=None)[source]

Inspect and validate the input data against data checks and returns a list of warnings and errors if applicable.

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

  • y (pd.Series, np.ndarray) – The target data of length [n_samples]

Returns

Dictionary containing DataCheckMessage objects

Return type

dict