Skip to content

Commit 987ddbc

Browse files
authored
FIX/DOC add replacement parameter in the docstring of RUS (#288)
1 parent 5b765e3 commit 987ddbc

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

imblearn/under_sampling/prototype_selection/random_under_sampler.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,10 @@ class RandomUnderSampler(BaseMulticlassSampler):
3838
If None, the random number generator is the RandomState instance used
3939
by np.random.
4040
41+
replacement : boolean, optional (default=True)
42+
Whether the sample is with (default) or without replacement.
43+
44+
4145
Attributes
4246
----------
4347
min_c_ : str or int

0 commit comments

Comments
 (0)