NoVarianceDataCheck.
validate
Check if the target or any of the features have no variance (1 unique value).
X (ww.DataTable, pd.DataFrame, np.ndarray) – The input features.
y (ww.DataColumn, pd.Series, np.ndarray) – The target data.
dict of warnings/errors corresponding to features or target with no variance.
dict