Given that AUC is a threshold independent measure, can undersampling or oversampling of the majority/minority class during training improve the performance of a binary classifier?
In my experience balancing the classes has the same effect as changing the threshold when making predictions. I believe that you can achieve any desired sensitivity or precision (not simultaneously of course) just by playing with the threshold.
If I am correct, I do not see the value of those sampling techniques. Perhaps they are more important for multiclass problems?
Could someone shed some light on this? Thank you.