Skip to content

Commit 464a619

Browse files
committed
TST forgot that this is a dict
1 parent 4c73847 commit 464a619

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

imblearn/misc.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,8 @@ class FunctionSampler(SamplerMixin):
6969
>>> sampler = FunctionSampler(func=func,
7070
... kw_args={'ratio': 'auto', 'random_state': 0})
7171
>>> X_res, y_res = sampler.fit_sample(X, y)
72-
>>> print('Resampled dataset shape {}'.format(sorted(Counter(y_res))))
72+
>>> print('Resampled dataset shape {}'.format(
73+
... sorted(Counter(y_res).items())))
7374
Resampled dataset shape Counter({-1: 268, 1: 268})
7475
7576
"""

0 commit comments

Comments
 (0)