Skip to content

Commit 4bfefba

Browse files
authored
Merge pull request #1 from Prakhyath07/Prakhyath07-patch-1
update oversampler base.py
2 parents 7cead9c + c4ffc26 commit 4bfefba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

imblearn/over_sampling/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ class BaseOverSampler(BaseSampler):
6161
_parameter_constraints: dict = {
6262
"sampling_strategy": [
6363
Interval(numbers.Real, 0, 1, closed="right"),
64-
StrOptions({"auto", "majority", "not minority", "not majority", "all"}),
64+
StrOptions({"auto", "minority", "not minority", "not majority", "all"}),
6565
Mapping,
6666
callable,
6767
],

0 commit comments

Comments
 (0)