Application of Machine Learning and Resampling Techniques to Credit Card Fraud Detection
Keywords:
Machine learning, Fraud detection, Random forest, Resampling techniques, XGBoost, TensorFlow, Deep neural networkAbstract
The application of machine learning algorithms to the detection of fraudulent credit card transactions is a challenging problem domain due to the high imbalance in the datasets and confidentiality of financial data. This implies that legitimate transactions make up a high majority of the datasets such that a weak model with 99% accuracy and faulty predictions may still be assessed as high-performing. To build optimal models, four techniques were used in this research to sample the datasets including the baseline train test split method, the class weighted hyperparameter approach, and the undersampling and oversampling techniques. Three machine learning algorithms were implemented for the development of the models including the Random Forest, XGBoost and TensorFlow Deep Neural Network (DNN). Our observation is that the DNN is more effcient than the other 2 algorithms in modelling the under-sampled dataset while overall, the three algorithms had a better performance in the oversampling technique than in the undersampling technique. However, the Random Forest performed better than the other algorithms in the baseline approach. After comparing our results with some existing state-of-the-art works, we achieved an improved performance using real-world datasets.
Published
How to Cite
Issue
Section
Copyright (c) 2022 Chinedu L. Udeze, Idongesit E. Eteng, Ayei E. Ibor

This work is licensed under a Creative Commons Attribution 4.0 International License.
How to Cite
Similar Articles
- Unyime Ufok Ibekwe, Uche M. Mbanaso, Nwojo Agwu Nnanna, Umar Adam Ibrahim, A machine learning sentiment classification of factors that shape trust in smart contracts , Journal of the Nigerian Society of Physical Sciences: Volume 7, Issue 1, February 2025
- Atiek Iriany, Wigbertus Ngabu, Henny Pramoedyo, Amarifai, Geographically weighted regression random forest for modeling soil particles , Journal of the Nigerian Society of Physical Sciences: Volume 8, Issue 2, May 2026
- Gerard Shu Fuhnwi, Janet O. Agbaje, Kayode Oshinubi, Olumuyiwa James Peter, An Empirical Study on Anomaly Detection Using Density-based and Representative-based Clustering Algorithms , Journal of the Nigerian Society of Physical Sciences: Volume 5, Issue 2, May 2023
- Onyeke Idoko Charles, John Kolo Alhassan, Mohammed Danlami Abdulmalik, Kehinde Dele Tolorunse, A hybrid process-based and neural network post-processing model for cowpea yield prediction under climate variability in North Central Nigeria , Journal of the Nigerian Society of Physical Sciences: Volume 8, Issue 2, May 2026
- Vaishali Manish Joshi, Javid Gani Dar, A novel parametric intuitionistic fuzzy entropy measure with applications to image edge detection , Journal of the Nigerian Society of Physical Sciences: Volume 8, Issue 3, August 2026
- Victoria T. Olayemi, Adetola C. Oladipo, Vincent O. Adimula, Ayobami C. David, John O. Abedoh, Basheer A. Jaji, Adedibu C. Tella, A fluorescent copper(II) complex based on 4,4-oxybisbenzoic acid and benzimidazole for selective detection of nitroaromatic compounds , Journal of the Nigerian Society of Physical Sciences: Volume 8, Issue 2, May 2026
- Constantin Falk, Tarek El Ghayed , Ron van de Sand, Jörg Reiff-Stephan, A Data-Driven Approach Towards the Application of Reinforcement Learning Based HVAC Control , Journal of the Nigerian Society of Physical Sciences: Volume 5, Issue 1, February 2023
- Adefemi Adeniran, A. A. Sodipo, C. G. Udomboso, A Modifed Forced Randomized Response Model , Journal of the Nigerian Society of Physical Sciences: Volume 2, Issue 1, February 2020
- Paul Tawo Bukie, Idongesit E. Eteng, Eyo E. Essien, Development of internet of things-based petroleum pipeline topology leak monitoring and detection system using sensors , Journal of the Nigerian Society of Physical Sciences: Volume 7, Issue 4, November 2025
- Chuchu Liang, Majid Khan Majahar Ali, Lili Wu, A novel multi-class classification method for arrhythmias using Hankel dynamic mode decomposition and long short-term memory networks , Journal of the Nigerian Society of Physical Sciences: Volume 7, Issue 2, May 2025
You may also start an advanced similarity search for this article.
Most read articles by the same author(s)
- Idongesit E. Eteng, Udeze L. Chinedu, Ayei E. Ibor, A stacked ensemble approach with resampling techniques for highly effective fraud detection in imbalanced datasets , Journal of the Nigerian Society of Physical Sciences: Volume 7, Issue 1, February 2025

