Revisiting Class Imbalance: A Generalized Notion for Oversampling