-
Notifications
You must be signed in to change notification settings - Fork 118
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Rename transform_train
to resample
.
#643
Comments
@FBruzzesi so this came up during the code spring. It indeed seems that our I really forgot what we had in mind when we designed this one. But I'm wondering what we might want to do with it. @MBrouns do you remember? Is there a reason why we called it |
It should be related to #342. |
transform_train
to fit_transform
or transform
in preprocessing.OutlierRemover
Yea I think that's indeed it. I'm up for calling it |
transform_train
to fit_transform
or transform
in preprocessing.OutlierRemover
transform_train
to resample
.
That does feel better, yeah. Let's do that and update the docs accordingly. |
I am certainly not a user of imblearn. I tried to play around with it and it seems not to be so straightforward. To add more details, when adding |
I think we can drop the Then again, part of me would also be "ok" with dropping this feature from this library. Doing sampling stuff in a pipeline really requires |
I definitely agree in not adding |
We can also just make a utility function that just removes outliers. Something like: X_new, y_new = remove_outliers(estimator, X, y) Wouldn't this be the simplest/cleanest? |
The method in preprocessing.Outlier_Remover transform_train should be changed to fit_transform or transform.
The text was updated successfully, but these errors were encountered: