Skip to content

Commit

Permalink
MNT remove fit_sample as an alias (#773)
Browse files Browse the repository at this point in the history
  • Loading branch information
glemaitre committed Feb 8, 2021
1 parent 3079f1c commit a9e1121
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions imblearn/base.py
Expand Up @@ -88,9 +88,6 @@ def fit_resample(self, X, y):
X_, y_ = arrays_transformer.transform(output[0], y_)
return (X_, y_) if len(output) == 2 else (X_, y_, output[2])

# define an alias for back-compatibility
fit_sample = fit_resample

@abstractmethod
def _fit_resample(self, X, y):
"""Base method defined in each sampler to defined the sampling
Expand Down

0 comments on commit a9e1121

Please sign in to comment.