4
$\begingroup$

Suppose I have 100 positive samples. How many negative samples do I need to have in order to make the classifier work the best. In many papers, I have noticed that they take 4 times or 5 times the number of positive data sample to get the negative data sample. Will such a data set be useful?

$\endgroup$
1
  • $\begingroup$ For many classifiers up-weighting can be used to counter imbalanced data. Only 20 samples of one class would still only draw a rough picture of what that class looks like or what the other(out of 2) class not looks like. $\endgroup$ Aug 30, 2015 at 6:58

2 Answers 2

1
$\begingroup$

I guess you are not limited to these 100 samples. Generate more, and let each 5th be negative. Then reduce number of positives by random removing 4/5 of them.

And check this out Training imbalanced data set

This is small quantity, you'd better have 50:50 negative vs positive.

$\endgroup$
1
  • $\begingroup$ i am limited to 100 samples, cannot generate anymore.... $\endgroup$
    – girl101
    Sep 29, 2015 at 3:49
1
$\begingroup$

It is recommended to have around equal number of instances in each class. If not, then you should normalize the data. 4 or 5 times more positive class size could produce highly biased classifier. However, if your negative class is not well defined then there are ways to train your classes with only one class as mentioned in the paper, Learning from positive examples when the negative class is undetermined- microRNA gene identification.

$\endgroup$

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.