-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
SMOTETomek with SMOTE variants #589
Comments
Thanks for the question @pckroon! Currently the And it looks like the error is raised here: imbalanced-learn/imblearn/combine/_smote_tomek.py Lines 112 to 117 in 12b2e0d
This should probably be adapted to accept |
Changing
if instance(self.smote, BaseSMOTE): should do it code-wise (along with changing the corresponding import statement), but I don't know if there's some deeper reason why this would or would not be a bad idea.
PS. Is there any particular reason why ADASYN wouldn't work in this context? |
@pckroon basically by using the |
Ah ok :) |
It is a bit easier to discover these samplers if you come from the literature. |
Description
Hi! First off, I know very little about machine learning in general, and imbalanced machine learning in particular, so I don't know if this will make much sense.
The problem I encountered is that I can not use
combine.SMOTETomek
with e.g.SVMSMOTE
.Steps/Code to Reproduce
Expected Results
A SMOTETomek sampler that uses SVMSMOTE for oversampling.
Actual Results
Versions
The text was updated successfully, but these errors were encountered: