We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2453ca1 commit ef735f4Copy full SHA for ef735f4
imblearn/utils/fixes.py
@@ -147,6 +147,8 @@ def _is_pandas_df(X):
147
def validate_data(_estimator, **kwargs):
148
if "ensure_all_finite" in kwargs:
149
force_all_finite = kwargs.pop("ensure_all_finite")
150
+ else:
151
+ force_all_finite = True
152
return _estimator._validate_data(**kwargs, force_all_finite=force_all_finite)
153
else:
154
from sklearn.utils.validation import validate_data # type: ignore[no-redef]
0 commit comments