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 ed7e6fc commit 3d25e47Copy full SHA for 3d25e47
imblearn/base.py
@@ -17,7 +17,6 @@
17
from .utils import check_sampling_strategy, check_target_type
18
from .utils.fixes import validate_data
19
from .utils._param_validation import validate_parameter_constraints
20
-from .utils._tags import InputTags
21
from .utils._validation import ArraysTransformer
22
23
@@ -213,6 +212,8 @@ def _more_tags(self):
213
212
214
def __sklearn_tags__(self):
215
tags = super().__sklearn_tags__()
+
216
+ from .utils._tags import InputTags
217
tags.input_tags = InputTags()
218
tags.input_tags.two_d_array = True
219
tags.input_tags.sparse = True
0 commit comments