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
- J. O. Coker, A. A. Rafiu, N. N. Abdulsalam, A. S. Ogungbe, A. A. Olajide, A. J. Agbelemoge, Investigation of Groundwater Contamination from Akanran Open Waste Dumpsite, Ibadan, South-Western Nigeria, using Geoelectrical and Geochemical Techniques , Journal of the Nigerian Society of Physical Sciences: Volume 3, Issue 2, May 2021
- A. E. Anasthesia, U. Ibrahim, S. D. Yusuf, D. Z. Joseph, N. Flavious, M. Sidi, S. Shem, A. Mundi, A. Dare, D. S. Joseph, Y. A. Ningi, Diagnostic Reference Levels (DRLs) and Image Quality Evaluation for Digital Mammography in a Nigerian Facility , Journal of the Nigerian Society of Physical Sciences: Volume 4, Issue 2, May 2022
- Waheed B. Yahya, Yusuf Bello, Abdulrazaq AbdulRaheem, Model Fitness and Predictive Accuracy in Linear Mixed-Effects Models with Latent Clusters , Journal of the Nigerian Society of Physical Sciences: Volume 5, Issue 3, August 2023
- Shaymaa Mohammed Ahmed, Majid Khan Majahar Ali, Arshad Hameed Hasan, Evaluating feature selection methods in a hybrid Weibull Freund-Cox proportional hazards model for renal cell carcinoma , Journal of the Nigerian Society of Physical Sciences: Volume 7, Issue 3, August 2025
- Terver Daniel, Stanimir Kisyov, Patrick Regan, Nicu Marginean, Zsolt Podolyak, R. Marginean, K. Nomura, M. Rudigier, R. Mihai, V. Werner, R. J. Carroll, Laila Gurgi, A. Oprea, Tom Berry, A. Serban, C. R. Nita, C. Sotty, R. Suvaila, A. Turturica, C. Costache, L. Stan, A. Olacel, M. Boromiza, S. Toma, S. J. Gemanam, F. Gbaorun, I. Ochala, E. C. Hemba, Prompt Response Function (PRF) of Lifetime Measurement in the 2+ State of 192Os Nuclei Energy Levels from Triple-Gamma Coincidence Techniques , Journal of the Nigerian Society of Physical Sciences: Volume 2, Issue 4, November 2020
- Chinnarao Menda, Ch. Ramakrishna, V D N Kumar Abbaraju, Analysis of industrial solid waste for secure and eco-friendly disposal by incineration practices , Journal of the Nigerian Society of Physical Sciences: Volume 7, Issue 3, August 2025
- Dlal Bashir, Hailiza Kamarulhaili, Olayiwola Babarinsa, A Review on Quadrant Interlocking Factorization: WZ and WH Factorization , Journal of the Nigerian Society of Physical Sciences: Volume 5, Issue 1, February 2023
- M. E. Khan, C. E. Elum, A. O. Ijeomah, P. J. Ameji, I. G. Osigbemhe, E. E. Etim, J. V. Anyam, A. Abel, C. T. Agber, Isolation, Characterization, Antimicrobial and Theoretical Investigation of Some Bioactive Compounds Obtained from the Bulbs of Calotropisprocera , Journal of the Nigerian Society of Physical Sciences: Volume 5, Issue 3, August 2023
- Afizu Mamudu, Eti-mbuk S. Akanbi, Shola C. Odewumi, Hydrothermal alteration and mineral potential zones of Bauchi area Northeastern Nigeria using interpretation of aeroradiometric data , Journal of the Nigerian Society of Physical Sciences: Volume 7, Issue 1, February 2025
- Raja Aqib Shamim, Majid Khan Majahar Ali, Mohamed Farouk Haashir bin Hamdullah, Computational optimization of auctioneer revenue in modified discrete Dutch auctions with cara risk preferences , Journal of the Nigerian Society of Physical Sciences: Volume 8, Issue 1, February 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

