4
votes
Accepted
How do I select the (number of) negative cases, if I'm given a set of positive cases?
Short answer
To select the proper dataset to construct, you should first figure out a metric to use to compare, and then select the dataset construction that gives the better metric. There is no ...
3
votes
Accepted
Does data skew matter in classification problem?
Yes. Skewed data is one of the biggest problems in AI applications. As you rightly identified, the real world distribution is skewed. Doing a random sampling results in one major issue of an uneven ...
2
votes
Accepted
How robust are deep networks to class imbalance?
@nbro pointed out the paper A systematic study of the class imbalance problem in convolutional neural networks, which tested class imbalance LeNet for MNIST, on a custom CNN for CIFAR-10, and on ...
2
votes
How to deal with datasets which are not balanced?
My favorite first alternative is change the error/cost function in order to penalize more the errors in the less frequent label.
About other alternatives (generate synthetic cases, ..) you can easily ...
2
votes
Accepted
How to handle class imbalance when the actual data are that way
You can use stratified cross-validation combined with an imbalanced learning technique applied to the training data. Stratification ensures that when you split your data into train and test, the ratio ...
1
vote
How to deal with an unbalanced dataset?
4861/5111 is about 95.1%, so it looks like your classifier is probably predicting every patient as "no stroke" (i.e. it is not really doing anything useful). The thing to do is to work out ...
1
vote
What does "adding class weights for an imbalanced dataset" mean in the case of multi-label classification?
The paper A systematic study of the class imbalance problem
in convolutional neural networks is a great overview on class imbalance approaches. Section 2 summarizes various methods commonly used. They ...
1
vote
Accepted
How to arrange test dataset distribution for an imbalanced classification problem?
The test set should represents the "real" data distribution your model will tackle once deployed and used in real applications. So the quick answer is yes, the test data should be imbalanced,...
1
vote
Accepted
How do you handle unbalanced image datasets?
You can always adjust class weights accordingly. I know the reference is not for image data but it shouldn't matter if you are doing classification. Here is another answer more direct to the point.
1
vote
Accepted
How to handle an unbalanced dataset when training object detection algorithms?
One thing to try first is Focal Loss. This particular loss works well for classification or object detection where your dataset is unbalanced and contains many classes. In short, the loss suppresses ...
1
vote
Accepted
How can I use Generative Adversarial Networks to solve the imbalanced class problem?
In my experience, GANs work really well for the scenario of semi-supervised learning, where you don't necessarily have labels for all your class $B$ data, but you do have a balanced dataset. In my (...
1
vote
Does data skew matter in classification problem?
Definitely. NNs can learn the data that you teach to them. If you teach them biased, the network will be biased. As you mention, one solution is to reduce the data that you have. However, it is not ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
imbalanced-datasets × 19machine-learning × 7
neural-networks × 6
datasets × 5
deep-learning × 4
classification × 4
data-preprocessing × 4
binary-classification × 3
multi-label-classification × 3
convolutional-neural-networks × 2
supervised-learning × 2
multiclass-classification × 2
training × 1
tensorflow × 1
image-recognition × 1
objective-functions × 1
object-detection × 1
generative-adversarial-networks × 1
prediction × 1
regression × 1
weights × 1
feedforward-neural-networks × 1
text-classification × 1
cross-validation × 1
data-labelling × 1