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 e2a75a5 commit 4c73847Copy full SHA for 4c73847
imblearn/misc.py
@@ -69,8 +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(Counter(y_res)))
73
- Resampled dataset shape Counter({1: 268, -1: 268})
+ >>> print('Resampled dataset shape {}'.format(sorted(Counter(y_res))))
+ Resampled dataset shape Counter({-1: 268, 1: 268})
74
75
"""
76
0 commit comments