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
- O. E. Ojo, A. Gelbukh, H. Calvo, O. O. Adebanji, Performance Study of N-grams in the Analysis of Sentiments , Journal of the Nigerian Society of Physical Sciences: Volume 3, Issue 4, November 2021
- Mokhtar Ali, Abdelkerim Souahlia, Abdelhalim Rabehi, Mawloud Guermoui, Ali Teta, Imad Eddine Tibermacine, Abdelaziz Rabehi, Mohamed Benghanem , A robust deep learning approach for photovoltaic power forecasting based on feature selection and variational mode decomposition , Journal of the Nigerian Society of Physical Sciences: Volume 7, Issue 3, August 2025
- F. U. Salifu, O. A. Oladipo, E. O. Ebock, B. Nava, Deep neural network model for vertical total electron content prediction at a single low latitude station , Journal of the Nigerian Society of Physical Sciences: Volume 7, Issue 4, November 2025
- Lois Onyejere Nwobodo, Chinonso J. Okonkwo, Edith Angela Ugwu, Udeh Chukwuma Callistus, Okorie Kingsley Maduabuchi, Ngene John Ndubisi, Agbo Kenechukwu Martin, HybOptic-CNN: A hybrid WOA-GWO-optimized convolutional neural network model for enhanced plant disease detection in the Nigerian environment , Journal of the Nigerian Society of Physical Sciences: Volume 8, Issue 4, November 2026 (in progress)
- O. J. Ibidoja, F. P. Shan, Mukhtar, J. Sulaiman, M. K. M. Ali, Robust M-estimators and Machine Learning Algorithms for Improving the Predictive Accuracy of Seaweed Contaminated Big Data , Journal of the Nigerian Society of Physical Sciences: Volume 5, Issue 1, February 2023
- Emmanuel Gbenga Dada, Aishatu Ibrahim Birma, Abdulkarim Abbas Gora, Ensemble machine learning algorithm for cost-effective and timely detection of diabetes in Maiduguri, Borno State , Journal of the Nigerian Society of Physical Sciences: Volume 6, Issue 4, November 2024
- Dekera Kenneth Kwaghtyo, Christopher Ifeanyi Eke, Timothy Moses, CropGAN: A conditional GAN framework for synthetic tabular data augmentation in crop recommendation systems , Journal of the Nigerian Society of Physical Sciences: Volume 8, Issue 3, August 2026
- A. K. Usman, Y. A. Hassan, A. A. Bery, A. S. Akingboye, M. D. Dick, B. M. Ahmed, R. O. Aderoju, Hybrid deep belief network and fuzzy clustering approach for geothermal prospectivity mapping in northeastern Nigeria using magnetic and landsat data , Journal of the Nigerian Society of Physical Sciences: Volume 8, Issue 1, February 2026
- Omodele Olubi, Ebeneze Oniya, Taoreed Owolabi, Development of Predictive Model for Radon-222 Estimation in the Atmosphere using Stepwise Regression and Grid Search Based-Random Forest Regression , Journal of the Nigerian Society of Physical Sciences: Volume 3, Issue 2, May 2021
- Ebere Uzoka Chidi, Edward Anoliefo, Collins Udanor, Asogwa Tochukwu Chijindu, Lois Onyejere Nwobodo, A blind navigation guide model for obstacle avoidance using distance vision estimation based YOLO-V8n , Journal of the Nigerian Society of Physical Sciences: Volume 7, Issue 1, February 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

