evalml.data_checks.NoVarianceDataCheck

Inheritance diagram of NoVarianceDataCheck
class evalml.data_checks.NoVarianceDataCheck(count_nan_as_value=False)[source]

Check if any of the features or labels have no variance.

name = 'NoVarianceDataCheck'

Instance attributes

Methods:

__init__

Check if any of the features or labels have no variance.

validate

Check if any of the features or if the labels have no variance (1 unique value).