IDEAS home Printed from https://ideas.repec.org/a/plo/pone00/0271260.html
   My bibliography  Save this article

An empirical evaluation of sampling methods for the classification of imbalanced data

Author

Listed:
  • Misuk Kim
  • Kyu-Baek Hwang

Abstract

In numerous classification problems, class distribution is not balanced. For example, positive examples are rare in the fields of disease diagnosis and credit card fraud detection. General machine learning methods are known to be suboptimal for such imbalanced classification. One popular solution is to balance training data by oversampling the underrepresented (or undersampling the overrepresented) classes before applying machine learning algorithms. However, despite its popularity, the effectiveness of sampling has not been rigorously and comprehensively evaluated. This study assessed combinations of seven sampling methods and eight machine learning classifiers (56 varieties in total) using 31 datasets with varying degrees of imbalance. We used the areas under the precision-recall curve (AUPRC) and receiver operating characteristics curve (AUROC) as the performance measures. The AUPRC is known to be more informative for imbalanced classification than the AUROC. We observed that sampling significantly changed the performance of the classifier (paired t-tests P

Suggested Citation

  • Misuk Kim & Kyu-Baek Hwang, 2022. "An empirical evaluation of sampling methods for the classification of imbalanced data," PLOS ONE, Public Library of Science, vol. 17(7), pages 1-22, July.
  • Handle: RePEc:plo:pone00:0271260
    DOI: 10.1371/journal.pone.0271260
    as

    Download full text from publisher

    File URL: https://journals.plos.org/plosone/article?id=10.1371/journal.pone.0271260
    Download Restriction: no

    File URL: https://journals.plos.org/plosone/article/file?id=10.1371/journal.pone.0271260&type=printable
    Download Restriction: no

    File URL: https://libkey.io/10.1371/journal.pone.0271260?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    References listed on IDEAS

    as
    1. Takaya Saito & Marc Rehmsmeier, 2015. "The Precision-Recall Plot Is More Informative than the ROC Plot When Evaluating Binary Classifiers on Imbalanced Datasets," PLOS ONE, Public Library of Science, vol. 10(3), pages 1-21, March.
    2. Zhongkai Liu & Howard D. Bondell, 2019. "Binormal Precision–Recall Curves for Optimal Classification of Imbalanced Data," Statistics in Biosciences, Springer;International Chinese Statistical Association, vol. 11(1), pages 141-161, April.
    Full references (including those not matched with items on IDEAS)

    Citations

    Citations are extracted by the CitEc Project, subscribe to its RSS feed for this item.
    as


    Cited by:

    1. Javad Hemmatian & Rassoul Hajizadeh & Fakhroddin Nazari, 2025. "Addressing imbalanced data classification with Cluster-Based Reduced Noise SMOTE," PLOS ONE, Public Library of Science, vol. 20(2), pages 1-20, February.

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Yifan Zhong & Chuang Cai & Tao Chen & Hao Gui & Jiajun Deng & Minglei Yang & Bentong Yu & Yongxiang Song & Tingting Wang & Xiwen Sun & Jingyun Shi & Yangchun Chen & Dong Xie & Chang Chen & Yunlang She, 2023. "PET/CT based cross-modal deep learning signature to predict occult nodal metastasis in lung cancer," Nature Communications, Nature, vol. 14(1), pages 1-14, December.
    2. Christopher J Greenwood & George J Youssef & Primrose Letcher & Jacqui A Macdonald & Lauryn J Hagg & Ann Sanson & Jenn Mcintosh & Delyse M Hutchinson & John W Toumbourou & Matthew Fuller-Tyszkiewicz &, 2020. "A comparison of penalised regression methods for informing the selection of predictive markers," PLOS ONE, Public Library of Science, vol. 15(11), pages 1-14, November.
    3. Le, Hong Hanh & Viviani, Jean-Laurent, 2018. "Predicting bank failure: An improvement by implementing a machine-learning approach to classical financial ratios," Research in International Business and Finance, Elsevier, vol. 44(C), pages 16-25.
    4. João Chang Junior & Fábio Binuesa & Luiz Fernando Caneo & Aida Luiza Ribeiro Turquetto & Elisandra Cristina Trevisan Calvo Arita & Aline Cristina Barbosa & Alfredo Manoel da Silva Fernandes & Evelinda, 2020. "Improving preoperative risk-of-death prediction in surgery congenital heart defects using artificial intelligence model: A pilot study," PLOS ONE, Public Library of Science, vol. 15(9), pages 1-21, September.
    5. Arthur De Sá Ferreira & Ney Meziat-Filho & Ana Paula Antunes Ferreira, 2021. "Double threshold receiver operating characteristic plot for three-modal continuous predictors," Computational Statistics, Springer, vol. 36(3), pages 2231-2245, September.
    6. Masabho P Milali & Samson S Kiware & Nicodem J Govella & Fredros Okumu & Naveen Bansal & Serdar Bozdag & Jacques D Charlwood & Marta F Maia & Sheila B Ogoma & Floyd E Dowell & George F Corliss & Maggy, 2020. "An autoencoder and artificial neural network-based method to estimate parity status of wild mosquitoes from near-infrared spectra," PLOS ONE, Public Library of Science, vol. 15(6), pages 1-16, June.
    7. Kajal Lahiri & Cheng Yang, 2023. "ROC and PRC Approaches to Evaluate Recession Forecasts," Journal of Business Cycle Research, Springer;Centre for International Research on Economic Tendency Surveys (CIRET), vol. 19(2), pages 119-148, September.
    8. Tzu-Hsuan Lin & Jehn-Ruey Jiang, 2021. "Credit Card Fraud Detection with Autoencoder and Probabilistic Random Forest," Mathematics, MDPI, vol. 9(21), pages 1-16, October.
    9. Apostolos Giannoulidis & Anastasios Gounaris & Athanasios Naskos & Nikodimos Nikolaidis & Daniel Caljouw, 2025. "Engineering and evaluating an unsupervised predictive maintenance solution: a cold-forming press case-study," Journal of Intelligent Manufacturing, Springer, vol. 36(3), pages 2121-2139, March.
    10. Dorian Knoblauch & Jürgen Großmann, 2023. "Towards a Risk-Based Continuous Auditing-Based Certification for Machine Learning," The Review of Socionetwork Strategies, Springer, vol. 17(2), pages 255-273, October.
    11. Alfred Krzywicki & David Muchlinski & Benjamin E. Goldsmith & Arcot Sowmya, 2022. "From academia to policy makers: a methodology for real-time forecasting of infrequent events," Journal of Computational Social Science, Springer, vol. 5(2), pages 1489-1510, November.
    12. Dueñas, Marco & Ortiz, Víctor & Riccaboni, Massimo & Serti, Francesco, 2021. "Assessing the Impact of COVID-19 on Trade: a Machine Learning Counterfactual Analysis," Working papers 79, Red Investigadores de Economía.
    13. Simon Tranberg Bodilsen & Søren Albeck Nielsen & Michael Rosholm, 2025. "Measuring employment readiness for hard-to-place individuals," Palgrave Communications, Palgrave Macmillan, vol. 12(1), pages 1-12, December.
    14. Wei-Hsuan Lo-Ciganic & Julie M Donohue & Eric G Hulsey & Susan Barnes & Yuan Li & Courtney C Kuza & Qingnan Yang & Jeanine Buchanich & James L Huang & Christina Mair & Debbie L Wilson & Walid F Gellad, 2021. "Integrating human services and criminal justice data with claims data to predict risk of opioid overdose among Medicaid beneficiaries: A machine-learning approach," PLOS ONE, Public Library of Science, vol. 16(3), pages 1-18, March.
    15. Nica-Avram, Georgiana & Harvey, John & Smith, Gavin & Smith, Andrew & Goulding, James, 2021. "Identifying food insecurity in food sharing networks via machine learning," Journal of Business Research, Elsevier, vol. 131(C), pages 469-484.
    16. Ali J. Ghandour & Huda Hammoud & Samar Al-Hajj, 2020. "Analyzing Factors Associated with Fatal Road Crashes: A Machine Learning Approach," IJERPH, MDPI, vol. 17(11), pages 1-13, June.
    17. Song, Kwonsik & Anderson, Kyle & Lee, SangHyun, 2020. "An energy-cyber-physical system for personalized normative messaging interventions: Identification and classification of behavioral reference groups," Applied Energy, Elsevier, vol. 260(C).
    18. Soumadeep Saha & Utpal Garain & Arijit Ukil & Arpan Pal & Sundeep Khandelwal, 2023. "MedTric : A clinically applicable metric for evaluation of multi-label computational diagnostic systems," PLOS ONE, Public Library of Science, vol. 18(8), pages 1-19, August.
    19. Fisnik Doko & Slobodan Kalajdziski & Igor Mishkovski, 2021. "Credit Risk Model Based on Central Bank Credit Registry Data," JRFM, MDPI, vol. 14(3), pages 1-17, March.
    20. Abouelmagd THM, 2018. "A New Flexible Distribution Based on the Zero Truncated Poisson Distribution: Mathematical Properties and Applications to Lifetime Data," Biostatistics and Biometrics Open Access Journal, Juniper Publishers Inc., vol. 8(1), pages 10-16, August.

    More about this item

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:plo:pone00:0271260. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: plosone (email available below). General contact details of provider: https://journals.plos.org/plosone/ .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.