Skip to content

Commit 3d25e47

Browse files
committed
fix
1 parent ed7e6fc commit 3d25e47

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

imblearn/base.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
from .utils import check_sampling_strategy, check_target_type
1818
from .utils.fixes import validate_data
1919
from .utils._param_validation import validate_parameter_constraints
20-
from .utils._tags import InputTags
2120
from .utils._validation import ArraysTransformer
2221

2322

@@ -213,6 +212,8 @@ def _more_tags(self):
213212

214213
def __sklearn_tags__(self):
215214
tags = super().__sklearn_tags__()
215+
216+
from .utils._tags import InputTags
216217
tags.input_tags = InputTags()
217218
tags.input_tags.two_d_array = True
218219
tags.input_tags.sparse = True

0 commit comments

Comments
 (0)