Skip to content

Commit

Permalink
FIX remove sampling_type from base class (scikit-learn-contrib#338)
Browse files Browse the repository at this point in the history
  • Loading branch information
glemaitre authored Aug 30, 2017
1 parent 7f58be7 commit 894de60
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions imblearn/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,10 +131,9 @@ class BaseSampler(SamplerMixin):
instead.
"""

def __init__(self, ratio='auto', random_state=None, sampling_type=None):
def __init__(self, ratio='auto', random_state=None):
self.ratio = ratio
self.random_state = random_state
self.sampling_type = sampling_type
self.logger = logging.getLogger(__name__)

def fit(self, X, y):
Expand Down

0 comments on commit 894de60

Please sign in to comment.