Skip to content

Commit 894de60

Browse files
authored
FIX remove sampling_type from base class (#338)
1 parent 7f58be7 commit 894de60

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

imblearn/base.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,10 +131,9 @@ class BaseSampler(SamplerMixin):
131131
instead.
132132
"""
133133

134-
def __init__(self, ratio='auto', random_state=None, sampling_type=None):
134+
def __init__(self, ratio='auto', random_state=None):
135135
self.ratio = ratio
136136
self.random_state = random_state
137-
self.sampling_type = sampling_type
138137
self.logger = logging.getLogger(__name__)
139138

140139
def fit(self, X, y):

0 commit comments

Comments
 (0)