Paper record
W2217007515Calibrating Probability with Undersampling for Unbalanced Classification
Andrea Dal Pozzolo, Olivier Caelen, Reid A. Johnson, Gianluca Bontempi
- Year
- 2015
- Venue
- IEEE Symposium Series on Computational Intelligence (SSCI)
- References
- 22
- Cited by
- 1,136
Details and counts from OpenAlex.
Abstract
Under sampling is a popular technique for unbalanced datasets to reduce the skew in class distributions. However, it is well-known that under sampling one class modifies the priors of the training set and consequently biases the posterior probabilities of a classifier. In this paper, we study analytically and experimentally how under sampling affects the posterior probability of a machine learning model. We formalize the problem of under sampling and explore the relationship between conditional probability in the presence and absence of under sampling. Although the bias due to under sampling does not affect the ranking order returned by the posterior probability, it significantly impacts the classification accuracy and probability calibration. We use Bayes Minimum Risk theory to find the correct classification threshold and show how to adjust it after under sampling. Experiments on several real-world unbalanced datasets validate our results.