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
- Lek Ming Lim, Yang Lu, Ahmad Sufril Azlan Mohamed, Majid Khan Majahar Ali, Data safety prediction using YOLOv7+G3HN for traffic roads , Journal of the Nigerian Society of Physical Sciences: Volume 6, Issue 3, August 2024
- Mahesh Kumar Singh, Arun Kumar Singh, Pushpa Choudhary, Akhilesh Kumar Singh, Lalit Kumar Tyagi, A practical deep learning framework for multi-class skin cancer detection using U-Net segmentation and ResNet50 transfer learning , Journal of the Nigerian Society of Physical Sciences: Volume 8, Issue 3, August 2026
- Emmanuel C. Ukekwe, Adaora A. Obayi, Akpa Johnson, Daniel A. Musa, Jonathan C. Agbo, Optimizing data and voice service delivery for mobile phones based on clients' demand and location using affinity propagation machine learning , Journal of the Nigerian Society of Physical Sciences: Volume 7, Issue 2, May 2025
- Osita Miracle Nwakeze, Naveed Uddin Mohammed, Obaze Caleb Akachukwu, Umerah Anthony Tochukwu, Oji Nkechi Blessing, Ibeh Sylvarine Chinasa, Odeh Christopher, Dynamic-kernel CNN-LSTM for real-time intrusion detection in low-power healthcare IoT systems , Journal of the Nigerian Society of Physical Sciences: Volume 8, Issue 3, August 2026
- P. O. Odion, M. N. Musa, S. U. Shuaibu, Age Prediction from Sclera Images using Deep Learning , Journal of the Nigerian Society of Physical Sciences: Volume 4, Issue 3, August 2022
- Umaru Hassan, Mohd Tahir Ismail, Improving forecasting accuracy using quantile regression neural network combined with unrestricted mixed data sampling , Journal of the Nigerian Society of Physical Sciences: Volume 5, Issue 4, November 2023
- Nour Hamad Abu Afouna, Majid Khan Majahar Ali, Optimizing precision farming: enhancing machine learning efficiency with robust regression techniques in high-dimensional data , Journal of the Nigerian Society of Physical Sciences: Volume 7, Issue 1, February 2025
- Christopher Ifeanyi Eke, Kholoud Maswadi, Musa Phiri, Mulenga Mwege, Mohammad Imran, Dekera Kenneth Kwaghtyo, Akeremale Olusola Collins, Effective tweets classification for disaster crisis based on ensemble of classifiers , Journal of the Nigerian Society of Physical Sciences: Volume 7, Issue 3, August 2025
- Kanak Saini, Monika Saini, Ashish Kumar, Dinesh Kumar Saini, Availability predictions of solar power plants using multiple regression and neural networks: an analytical study , Journal of the Nigerian Society of Physical Sciences: Volume 7, Issue 2, May 2025
- Majid Khan Bin Majahar Ali, Shahida Shahnawaz, An inverse physics-informed neural network (I-PINN) framework for parameter estimation in mixed convection and melting effects , Journal of the Nigerian Society of Physical Sciences: Volume 8, Issue 2, May 2026
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

