From c0405d0c3adce65ad449e4053dbd3e2a2f766b81 Mon Sep 17 00:00:00 2001 From: Guillaume Lemaitre Date: Sat, 29 Apr 2017 13:31:04 +0200 Subject: [PATCH] FIX/DOC add replacement parameter in the docstring of RUS --- .../prototype_selection/random_under_sampler.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/imblearn/under_sampling/prototype_selection/random_under_sampler.py b/imblearn/under_sampling/prototype_selection/random_under_sampler.py index 40a9b85bc..e634c2064 100644 --- a/imblearn/under_sampling/prototype_selection/random_under_sampler.py +++ b/imblearn/under_sampling/prototype_selection/random_under_sampler.py @@ -38,6 +38,10 @@ class RandomUnderSampler(BaseMulticlassSampler): If None, the random number generator is the RandomState instance used by np.random. + replacement : boolean, optional (default=True) + Whether the sample is with (default) or without replacement. + + Attributes ---------- min_c_ : str or int