utils

Utilities for data checks.

Module Contents

Classes Summary

EmptyDataChecks

An empty collection of data checks.

Contents

class evalml.data_checks.utils.EmptyDataChecks(data_checks=None)[source]

An empty collection of data checks.

Parameters

data_checks (list (DataCheck)) – Ignored.

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)

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