# solving multi-class imbalance classification using smote and OSS

I am trying to solve multi-class imbalance classification problem for that i am using SMOTE for oversampling and OSS for under-sampling. But I have a doubt as I am working on multi-class so i have to convert it into binary classification. So we can convert it using OVA/OAA. So how can I use OVA/OAA with both under-sampling and oversampling on the same data-set.

Please solve my problem, It will be a great help.

• Thank you so much for your response. Firstly I will use OVA for converting multiclass into binary like if I have 3 classes then I will make 1 class as positive and other two classes as negative so it will make 3 combinations then I will I apply Resampling on both negative and positive for all the three combination individually. After that I will train my classifier with resampled classes(positive+negative) of all the three combinations individually and then will combine the result of all the combinations. Is it the right way to do? – Ayushi Chaplot Jan 29 '19 at 2:07

If you convert your problem to a binary classification task, you do not need to worry about any conflict with re-sampling techniques. You can then just use the imblearn.combine which combines Oversampling and under-sampling in one algorithm. There are classes available for this but I have found SMOTEENN to produce better results. SMOTEENN