Skip to content

Commit 3960305

Browse files
committed
update OSS docstrings n_seeds_S
1 parent 194ccf0 commit 3960305

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

imblearn/under_sampling/_prototype_selection/_one_sided_selection.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,10 @@ class OneSidedSelection(BaseCleaningSampler):
4545
be used.
4646
4747
n_seeds_S : int, default=1
48-
Number of samples to extract in order to build the set S.
48+
Number of samples from the majority class to add randomly to the set
49+
with all minority observations before training the first KNN model. In
50+
the original implementation is 1, but more samples can be added with this
51+
parameter.
4952
5053
{n_jobs}
5154

0 commit comments

Comments
 (0)