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 4c73847 commit 464a619Copy full SHA for 464a619
imblearn/misc.py
@@ -69,7 +69,8 @@ class FunctionSampler(SamplerMixin):
69
>>> sampler = FunctionSampler(func=func,
70
... kw_args={'ratio': 'auto', 'random_state': 0})
71
>>> X_res, y_res = sampler.fit_sample(X, y)
72
- >>> print('Resampled dataset shape {}'.format(sorted(Counter(y_res))))
+ >>> print('Resampled dataset shape {}'.format(
73
+ ... sorted(Counter(y_res).items())))
74
Resampled dataset shape Counter({-1: 268, 1: 268})
75
76
"""
0 commit comments