evalml.data_checks.LabelLeakageDataCheck.__init__¶
-
LabelLeakageDataCheck.
__init__
(pct_corr_threshold=0.95)[source]¶ Check if any of the features are highly correlated with the target.
Currently only supports binary and numeric targets and features.
- Parameters
pct_corr_threshold (float) – The correlation threshold to be considered leakage. Defaults to 0.95.