1
$\begingroup$

I'm working on an imbalanced class data set (200 samples) with 2 classes, first class has 50 sample and second has 150 sample.

My questions:

  1. When I use SMOTE technique on my data set my total dataset samples will be greater than 200 or smaller?
  2. Is there standard parameters value about SMOTE technique or not?
$\endgroup$

1 Answer 1

1
$\begingroup$

First of all, if all your variables are numerical then you can you SMOTE; otherwise you should use SMOTENC.

Answers: 1- Your classes are 150-50, then SMOTE gives you 150-150. So, YES; your total dataset sample will be 300.

2- You can use the default parameters; it works well in most of the problems. However, you can play with random_state and k_neighbors. All parameters have been explained here: imblearn.over_sampling.SMOTE

$\endgroup$
1
  • $\begingroup$ Thanks for your time and advises $\endgroup$ Dec 11, 2019 at 12:17

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.