Skip to content

Commit a9e1121

Browse files
authored
MNT remove fit_sample as an alias (#773)
1 parent 3079f1c commit a9e1121

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

imblearn/base.py

-3
Original file line numberDiff line numberDiff line change
@@ -88,9 +88,6 @@ def fit_resample(self, X, y):
8888
X_, y_ = arrays_transformer.transform(output[0], y_)
8989
return (X_, y_) if len(output) == 2 else (X_, y_, output[2])
9090

91-
# define an alias for back-compatibility
92-
fit_sample = fit_resample
93-
9491
@abstractmethod
9592
def _fit_resample(self, X, y):
9693
"""Base method defined in each sampler to defined the sampling

0 commit comments

Comments
 (0)